{% load i18n %}
<div>
<form method="post" action="">
{% csrf_token %}
{% include "form_fields.html" with form=form %}
<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 'auth_password_reset' %}">Réinitialiser votre mot de passe</a></p>
{% endif %}
{% if registration_authorized %}
  <p><a href="{% url 'registration_register' %}">Créer un compte</a></p>
{% endif %}
  <p><a href="{{ wcs_url }}/nous-contacter/">Contacter le support pour l'aide</a></p>
</div>
