57 lines
1.5 KiB
HTML
57 lines
1.5 KiB
HTML
|
{% extends "base.html" %}
|
||
|
{% load i18n %}
|
||
|
|
||
|
|
||
|
{% block auth %}{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
|
||
|
<h1 class="title">{% trans "Connexion par mot de passe" %}</h1>
|
||
|
<hr>
|
||
|
|
||
|
<div class="columns is-centered">
|
||
|
<div class="column is-two-thirds">
|
||
|
<form action="" method="post">
|
||
|
{% csrf_token %}
|
||
|
|
||
|
{% include "forms/form.html" with errors=True %}
|
||
|
|
||
|
<div class="field is-grouped is-centered">
|
||
|
<div class="control is-expanded">
|
||
|
<button class="button is-fullwidth is-outlined is-primary is-light">
|
||
|
<span class="icon is-small">
|
||
|
<i class="fas fa-check"></i>
|
||
|
</span>
|
||
|
<span>{% trans "Enregistrer" %}</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
|
||
|
<div class="control">
|
||
|
<a class="button is-primary" href="{% url 'authens:login' %}?next={{ next }}">
|
||
|
<span class="icon is-small">
|
||
|
<i class="fas fa-undo-alt"></i>
|
||
|
</span>
|
||
|
<span>{% trans "Retour" %}</span>
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="field is-centered">
|
||
|
<div class="control">
|
||
|
<div class="help has-text-centered">
|
||
|
<span>{% trans "Mot de passe oublié :" %}</span>
|
||
|
<a class="tag has-text-primary" href="{% url 'authens:reset.pwd' %}">
|
||
|
<span>{% trans "Réinitialiser mon mot de passe." %}</span>
|
||
|
<span class="icon is-small">
|
||
|
<i class="fas fa-lock-open"></i>
|
||
|
</span>
|
||
|
</a>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
{% endblock %}
|