Merge pull request #1416 from consul/fix-duplicities

avoids duplicate entries in officers list
This commit is contained in:
Raimond Garcia
2017-02-12 20:26:25 +01:00
committed by GitHub

View File

@@ -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>