This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
cut-publik-theme/templates/authentic2/login_password_form.html

39 lines
864 B
HTML

{% load i18n staticfiles %}
{% block content %}
<div>
<form method="post" action="">
{{ form.non_field_errors }}
{% csrf_token %}
<p>
{{ form.username.errors }}
{{ form.username.label_tag }}
{{ form.username }}
</p>
<p>
{{ form.password.errors }}
{{ form.password.label_tag }}
{{ form.password }}
</p>
<p>
{{ form.remember_me }}
<label for="id_remember_me">Rester connecté</label>
</p>
<input type="submit" name="{{ submit_name }}" value="{% trans "Log in" %}"/>
{% if cancel %}
<input type="submit" name="cancel" value="{% trans 'Cancel' %}"/>
{% endif %}
</form>
</div>
<div class="login-actions">
{% if can_reset_password %}
<p>
<a href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">Vous avez oublié votre mot de passe ?</a>
</p>
{% endif %}
</div>
{% endblock %}
{{ form.media }}