Rajoute une page pour créer plus facilement des comptes avec mdp

This commit is contained in:
Tom Hubrecht 2021-04-26 17:54:07 +02:00
parent c73f8a5943
commit c97f57912b
11 changed files with 108 additions and 19 deletions

View file

@ -62,7 +62,7 @@
{% if election.restricted %}
{% for v in election.registered_voters.all %}
<tr>
<td>{{ v.full_name }} ({{ v.get_username }})</td>
<td>{{ v.full_name }} ({{ v.base_username }})</td>
<td class="has-text-centered">
<span class="icon">
{% if v in voters %}
@ -77,7 +77,7 @@
{% else %}
{% for v in voters %}
<tr id="v_{{ forloop.counter }}">
<td>{{ v.full_name }} ({{ v.get_username }})</td>
<td>{{ v.full_name }} ({{ v.base_username }})</td>
<td class="has-text-centered">
<span class="icon">
<i class="fas fa-check"></i>

View file

@ -110,7 +110,7 @@
<tbody>
{% for v in voters %}
<tr>
<td>{{ v.get_username }}</td>
<td>{{ v.base_username }}</td>
<td>{{ v.full_name }}</td>
<td>{{ v.email }}</td>
</tr>