avoids duplicate entries in officers list

This commit is contained in:
Juanjo Bazán
2017-02-12 20:10:02 +01:00
parent f7c783b019
commit 711c2280c6

View File

@@ -12,7 +12,7 @@
<th class="text-right"><%= t("admin.actions.actions") %></th>
</thead>
<tbody>
<% @poll.officers.each do |officer| %>
<% @poll.officers.uniq.each do |officer| %>
<tr id="officer_<%= officer.id %>" class="officer">
<td>
<strong>