{% load gadjo i18n static %}
<form method="post" action="" class="pk-mark-optional-fields">
{% csrf_token %}
{{ form|with_template }}

<div class="buttons" id="login-buttons">
<button name="{{ submit_name }}">{% trans "Log in" %}</button>
{% if can_reset_password %}
<a href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">Mot de passe perdu ?<br>Réinitialisez-le !</a>
{% endif %}
</div>
</form>
