You've already forked snikket-web-portal
Fix dysfunctional password reset button
This commit is contained in:
@@ -18,8 +18,7 @@
|
|||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{% trans user_name=target_user.localpart %}Edit user {{ user_name }}{% endtrans %}</h1>
|
<h1>{% trans user_name=target_user.localpart %}Edit user {{ user_name }}{% endtrans %}</h1>
|
||||||
<div class="form layout-expanded"><form method="POST">
|
<form method="POST">{{ form.csrf_token }}<div class="form layout-expanded">
|
||||||
{{ form.csrf_token }}
|
|
||||||
<h2 class="form-title">{% trans %}Edit user{% endtrans %}</h2>
|
<h2 class="form-title">{% trans %}Edit user{% endtrans %}</h2>
|
||||||
<div class="f-ebox">
|
<div class="f-ebox">
|
||||||
{{ form.localpart.label }}
|
{{ form.localpart.label }}
|
||||||
@@ -55,9 +54,9 @@
|
|||||||
{%- endcall -%}
|
{%- endcall -%}
|
||||||
{%- call form_button("done", form.action_save, class="primary") %}{% endcall -%}
|
{%- call form_button("done", form.action_save, class="primary") %}{% endcall -%}
|
||||||
</div>
|
</div>
|
||||||
</form></div>
|
</div>
|
||||||
<h2>{% trans %}Further actions{% endtrans %}</h2>
|
<h2>{% trans %}Further actions{% endtrans %}</h2>
|
||||||
<div class="form layout-expanded"><form method="POST">
|
<div class="form layout-expanded">
|
||||||
<h2 class="form-title">{% trans %}Reset password{% endtrans %}</h2>
|
<h2 class="form-title">{% trans %}Reset password{% endtrans %}</h2>
|
||||||
{{ form.csrf_token }}
|
{{ form.csrf_token }}
|
||||||
<p class="form-desc">
|
<p class="form-desc">
|
||||||
@@ -75,5 +74,5 @@
|
|||||||
{%- trans -%}Show debug information{%- endtrans -%}
|
{%- trans -%}Show debug information{%- endtrans -%}
|
||||||
{%- endcall -%}
|
{%- endcall -%}
|
||||||
</div>
|
</div>
|
||||||
</form></div>
|
</div></form>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user