Fix rendering issues in password reset invite pages

This commit is contained in:
Jonas Schäfer
2021-01-30 11:03:06 +01:00
parent 1c4fa92c97
commit eaaca163a0
2 changed files with 2 additions and 1 deletions

View File

@@ -14,7 +14,7 @@
{{- form.csrf_token -}}
<h1 class="form-title">{% trans %}Reset your password online{% endtrans %}</h1>
<p class="form-desc weak">{% trans %}To reset your password online, fill out the fields below and confirm using the button.{% endtrans %}</p>
{%- call render_errors(form.errors) %}{% endcall -%}
{%- call render_errors(form) %}{% endcall -%}
<div class="f-ebox">
{{ form.password.label }}
{{ form.password }}

View File

@@ -7,6 +7,7 @@
{% block head_lead %}
{{ super() }}
<title>{% trans %}Reset your password | Snikket{% endtrans %}</title>
<script async type="text/javascript" src="{{ url_for("static", filename="js/invite-magic.js") }}"></script>
<script async type="text/javascript" src="{{ url_for("static", filename="js/qrcode.min.js") }}"></script>
{% endblock %}
{% block content %}