<table class="voterbox" id="election">
<tr>
<% Election.content_columns.each do |column| -%>
- <% next if column.name.eql?("viewable") || column.name.eql?("quickuser")\
- || column.name.eql?("active") || column.name.eql?("anonymous") %>
+ <% dontPrint = ["viewable", "quickuser", "active", "anonymous", \
+ "early_results", "embed_custom_string", "embeddable", \
+ "notices"]%>
+ <% next if dontPrint.include?(column.name)%>
<th><%= column.human_name %></th>
<% end -%>
</tr>
<td><%=h election.description %></td>
<td><%=h election.startdate.strftime("%x") %></td>
<td><%=h election.enddate.strftime("%x") %></td>
- <td>
- <% if election.notices == 0 -%>
- No
- <% else -%>
+ <td><%=h election.election_method %></td>
+ <td>
+ <% if election.authenticated? %>
Yes
- <% end -%>
- </td>
- <td><%=h election.election_method %></td>
+ <% else -%>
+ No
+ <% end -%>
+ </td>
+
</tr>
<% end -%>
</table>