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