From 425b4d4295049ef3ac26ebd88a3fc017a742e334 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Thu, 25 Mar 2021 17:47:40 +0100 Subject: [PATCH] Fix dysfunctional password reset button --- snikket_web/templates/admin_edit_user.html | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/snikket_web/templates/admin_edit_user.html b/snikket_web/templates/admin_edit_user.html index b54d6c1..6f4385d 100644 --- a/snikket_web/templates/admin_edit_user.html +++ b/snikket_web/templates/admin_edit_user.html @@ -18,8 +18,7 @@ {% endmacro %} {% block content %}

{% trans user_name=target_user.localpart %}Edit user {{ user_name }}{% endtrans %}

-
- {{ form.csrf_token }} +{{ form.csrf_token }}

{% trans %}Edit user{% endtrans %}

{{ form.localpart.label }} @@ -55,9 +54,9 @@ {%- endcall -%} {%- call form_button("done", form.action_save, class="primary") %}{% endcall -%}
-
+

{% trans %}Further actions{% endtrans %}

-
+

{% trans %}Reset password{% endtrans %}

{{ form.csrf_token }}

@@ -75,5 +74,5 @@ {%- trans -%}Show debug information{%- endtrans -%} {%- endcall -%}

-
+ {% endblock %}