{% extends theme('base.html') %} {% import theme('macros/forms.html') as forms with context %} {% set next_url = url_for(request.endpoint, **request.view_args) if not request.routing_exception else url_for('site.home') %} {% set read_only_mode = config.READ_ONLY_MODE %} {% block content %}

{{ _('Log in') }}

{{ _("Fields preceded by a star (*) are required.") }}

{% for error in login_user_form.form_errors %}

{{ error }}

{% endfor %} {% for f in login_user_form %} {% if f.type in ('CSRFTokenField', 'HiddenField') %} {{ f() }} {% endif %} {% endfor %} {{ forms.render_single_field(login_user_form.email)}} {{ forms.render_single_field(login_user_form.password)}} {{ forms.render_boolean_field(login_user_form.remember)}}

{{ _('Forgot your password?') }} {{ _('Recover your password') }}

{% if config.SECURITY_CONFIRMABLE %}

{{ _('Confirmation instructions not received?') }} {{ _('Send the instructions again') }}

{% endif %}
{% if config.MONCOMPETPRO_OPENID_CONF_URL %}

{{ _('or') }}

{{ _('What is MonComptePro ?') }}

{% endif %}
{% if not read_only_mode %}

{{ _('Don\'t have an account?')}}

{{ _('Create an account') }}
{% endif %}
{% endblock %}