-<h3>This is your user summary profile, <%=h @user.login.capitalize %></h3>
+<div id="title-header">
+ <span class="header">Account Summary</span>
+ <span class="subheader"></span>
+</div>
+
+<h3>This is your account summary profile, <%=h @user.login.capitalize %></h3>
<p>
E-mail: <%=h @user.email %><br />
<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>