18 lines
591 B
HTML
18 lines
591 B
HTML
{% load i18n %}
|
|
<h1>Connexion</h1>
|
|
<form method="post" action="">
|
|
{% csrf_token %}
|
|
{{ form.as_p }}
|
|
<input type="submit" name="{{ submit_name }}" value="{% trans "Log in" %}"/>
|
|
{% if cancel %}
|
|
<input type="submit" name="cancel" value="{% trans 'Cancel' %}"/>
|
|
{% endif %}
|
|
</form>
|
|
|
|
{% if can_reset_password %}
|
|
<p>→ {% trans "Forgot password?" %} <a href="{% url 'auth_password_reset' %}">{% trans "Reset it!" %}</a></p>
|
|
{% endif %}
|
|
{% if registration_authorized %}
|
|
<p>→ {% trans "Not a member?" %} <a href="{% url 'registration_register' %}">{% trans "Register!" %}</a></p>
|
|
{% endif %}
|