{% load gadjo %}
<form method="post" action="" class="pk-mark-optional-fields">
{% csrf_token %}
{{ form|with_template }}
{% if can_reset_password %}
<p class="forgot-password"><a href="{% url 'password_reset' %}{% if request.GET.next %}?next={{ request.GET.next|urlencode }}{% endif %}">Vous avez oublié votre mot de passe ?</a></p>
<div class="buttons">
  <button name="{{ submit_name }}">S’IDENTIFIER</button>
  {% if cancel %}
  <button class="cancel-button" name="cancel" formnovalidate>ANNULER</button>
  {% endif %}
</div>
</form>
{% endif %}
