voting portal: table, fixes #21
This commit is contained in:
parent
a5af44212d
commit
a06b352229
|
@ -3,16 +3,32 @@
|
|||
<div style="font-family: sans-serif;">
|
||||
<h1>Stemmingen</h1>
|
||||
|
||||
(als dit niet vanzelf invult: user id <%= @user.id %>)
|
||||
|
||||
<ul>
|
||||
<table>
|
||||
<tr>
|
||||
<th>
|
||||
stemming
|
||||
</th>
|
||||
<th>
|
||||
gebruiker
|
||||
</th>
|
||||
<th>
|
||||
wachtwoord
|
||||
</th>
|
||||
</tr>
|
||||
<% @votes.each do |vote| %>
|
||||
<li>
|
||||
<a href="https://stemmen.bij1.org/helios/e/<%= vote.election_slug %>/vote#id_voter_id=<%= vote.user_id %>&id_password=<%= vote.voter_password %>"><%= vote.election_slug %></a>
|
||||
(wachtwoord: <%= vote.voter_password %>)
|
||||
</li>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="https://stemmen.bij1.org/helios/e/<%= vote.election_slug %>/vote#id_voter_id=<%= vote.user_id %>&id_password=<%= vote.voter_password %>"><%= vote.election_slug %></a>
|
||||
</td>
|
||||
<td>
|
||||
<%= @user.id %>
|
||||
</td>
|
||||
<td>
|
||||
<%= vote.voter_password %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</ul>
|
||||
</table>
|
||||
<p>
|
||||
Tip: je stemt telt zodra je hebt geduwd op 'cast this ballot'!
|
||||
</p>
|
||||
|
|
Loading…
Reference in New Issue