Rajoute un message d'information et le retour renvoie sur la page d'où l'on vient (request.GET.next)
This commit is contained in:
parent
e4e4cff9e6
commit
d98d7da399
1 changed files with 41 additions and 27 deletions
|
@ -11,6 +11,20 @@
|
|||
|
||||
<div class="columns is-centered">
|
||||
<div class="column is-two-thirds">
|
||||
|
||||
<div class="tile is-ancestor py-3">
|
||||
<div class="tile is-parent">
|
||||
<div class="tile is-child notification is-primary is-light">
|
||||
<div class="has-text-centered">
|
||||
<span class="icon">
|
||||
<i class="fas fa-info"></i>
|
||||
</span>
|
||||
<span>{% trans "La connexion doit s'effectuer via les identifiants reçus par mail." %}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form action="" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
|
@ -27,7 +41,7 @@
|
|||
</div>
|
||||
|
||||
<div class="control">
|
||||
<a class="button is-primary" href="{% url 'election.view' election_id %}">
|
||||
<a class="button is-primary" href="{{ request.GET.next }}">
|
||||
<span class="icon">
|
||||
<i class="fas fa-undo-alt"></i>
|
||||
</span>
|
||||
|
|
Loading…
Reference in a new issue