2020-12-21 00:07:07 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% load i18n %}
|
2020-12-21 13:38:18 +01:00
|
|
|
|
|
|
|
|
2020-12-21 21:14:52 +01:00
|
|
|
{% block auth %}{% endblock %}
|
|
|
|
|
2020-12-21 13:38:18 +01:00
|
|
|
{% 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">
|
2021-05-26 23:44:46 +02:00
|
|
|
<button class="button is-fullwidth is-outlined is-primary is-light" type="submit">
|
2021-04-13 15:22:53 +02:00
|
|
|
<span class="icon">
|
2020-12-21 13:38:18 +01:00
|
|
|
<i class="fas fa-check"></i>
|
|
|
|
</span>
|
|
|
|
<span>{% trans "Enregistrer" %}</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
2021-04-13 15:22:53 +02:00
|
|
|
|
2020-12-21 13:38:18 +01:00
|
|
|
<div class="control">
|
2021-01-27 13:52:35 +01:00
|
|
|
<a class="button is-primary" href="{% url 'election.view' election_id %}">
|
2021-04-13 15:22:53 +02:00
|
|
|
<span class="icon">
|
2020-12-21 13:38:18 +01:00
|
|
|
<i class="fas fa-undo-alt"></i>
|
|
|
|
</span>
|
|
|
|
<span>{% trans "Retour" %}</span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|