adds link to add results for officers

This commit is contained in:
Juanjo Bazán
2017-02-01 13:26:02 +01:00
parent 594ad3df7b
commit 1998167f17

View File

@@ -5,13 +5,14 @@
<thead> <thead>
<th><%= t("officing.polls.final.select_poll") %></th> <th><%= t("officing.polls.final.select_poll") %></th>
<th>&nbsp;</th> <th>&nbsp;</th>
<th>&nbsp;</th>
</thead> </thead>
<tbody> <tbody>
<% @polls.each do |poll| %> <% @polls.each do |poll| %>
<tr id="<%= dom_id(poll) %>" class="poll"> <tr id="<%= dom_id(poll) %>" class="poll">
<td> <td>
<strong> <strong>
<%= link_to poll.name, new_officing_poll_final_recount_path(poll) %> <%= poll.name %>
</strong> </strong>
</td> </td>
<td class="text-right"> <td class="text-right">
@@ -19,6 +20,11 @@
new_officing_poll_final_recount_path(poll), new_officing_poll_final_recount_path(poll),
class: "button hollow" %> class: "button hollow" %>
</td> </td>
<td class="text-right">
<%= link_to t("officing.polls.final.add_results"),
new_officing_poll_result_path(poll),
class: "button hollow" %>
</td>
</tr> </tr>
<% end %> <% end %>
</tbody> </tbody>