{% load gadjo i18n static %}
<div>
<form method="post" action="" class="pk-mark-optional-fields">
{% csrf_token %}
{{ form|with_template }}
<button class="btn-square--filled--second" name="{{ submit_name }}"><span class="flexbox"><span class="btn-text">{% trans "Log in" %}</span><span class="btn-arrow"></span></span></button>
</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 %}">J’ai oublié mon mot de passe</a></p>
{% endif %}
</div>
