From 68320fe09954c06443046fb05e6fdc3e45fbc209 Mon Sep 17 00:00:00 2001 From: Zapfmeister Date: Thu, 18 Apr 2024 10:33:36 +0200 Subject: [PATCH] fix formating issue Fixes: django.template.exceptions.TemplateSyntaxError: 'blocktrans' doesn't allow other block tags (seen "trans 'You recently requested to change your password for you authentik account. Use the button below to set a new password.'") inside it Signed-off-by: Zapfmeister --- website/docs/flow/stages/email/index.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/flow/stages/email/index.mdx b/website/docs/flow/stages/email/index.mdx index 5da518ccc41d..c76bb6731e26 100644 --- a/website/docs/flow/stages/email/index.mdx +++ b/website/docs/flow/stages/email/index.mdx @@ -98,8 +98,8 @@ Templates are rendered using Django's templating engine. The following variables {% block content %} - {% blocktrans with username=user.username %} Hi {{ username }}, {% - endblocktrans %} + {% blocktrans with username=user.username %} Hi {{ username }}, + {% endblocktrans %}