{# .. screenshot:: |canaille|/firstlogin/james/code :context: james :align: right :width: 275px The password initialization code page. First login code page. This page displays a form asking for the code sent to the email address of users who have not set a password yet. #} {% extends theme('base.html') %} {% import 'macro/form.html' as fui %} {% import 'macro/flask.html' as flask %} {%- block title -%} {%- trans -%}First login{%- endtrans -%} {%- endblock -%} {% block messages %}{% endblock %} {% block content %}
{% block header %}

{% if logo_url %} {% endif %}
{% trans %}First login{% endtrans %}

{% endblock %} {% call flask.messages(classes="attached") %}
{% trans %} Please enter the password initialization code you received via email. {% endtrans %}
{% endcall %}
{% call fui.render_form(form) %} {% block fields %} {{ form.code(autofocus=True) }} {% endblock %} {% block buttons %}
{{ _("Login page") }}
{% endblock %} {% endcall %}
{% endblock %}