Merge pull request #1416 from consul/fix-duplicities
avoids duplicate entries in officers list
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
<th class="text-right"><%= t("admin.actions.actions") %></th>
|
<th class="text-right"><%= t("admin.actions.actions") %></th>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<% @poll.officers.each do |officer| %>
|
<% @poll.officers.uniq.each do |officer| %>
|
||||||
<tr id="officer_<%= officer.id %>" class="officer">
|
<tr id="officer_<%= officer.id %>" class="officer">
|
||||||
<td>
|
<td>
|
||||||
<strong>
|
<strong>
|
||||||
|
|||||||
Reference in New Issue
Block a user