39 lines
864 B
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 }}
|