X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/ffec26b00fc14b92f82137e1e3c62ce78c93ea24..8a444bfe3f442135ba66e5d9b8cdddfa9e3b50f2:/app/views/election/show.rhtml?ds=sidebyside diff --git a/app/views/election/show.rhtml b/app/views/election/show.rhtml index 5d22f44..3e63628 100644 --- a/app/views/election/show.rhtml +++ b/app/views/election/show.rhtml @@ -1,5 +1,7 @@ -<%= render_partial 'progress', 'review' %> -

Vote Information

+
+ Election Overview + +
<% if @election.active? %>
Vote is in currently in progress. Return to @@ -9,8 +11,6 @@ :action => 'results', :id => @election.id %>.
<% end %> -

Overview

-

Summary

@@ -33,8 +33,11 @@

<%= link_to "Edit overview.", :action => 'edit', :id => @election.id %>

<% end %> -

Candidates

-<% %> +
+ Candidates + +
+ <% unless @election.candidates.empty? %> <%= render :partial => 'candidate_list' %> <% unless @election.active %> @@ -45,7 +48,10 @@ <% end %> -

Voters

+
+ Voters + +
<% unless @election.voters.empty? %> <%= render :partial => 'voter_list' %> @@ -55,7 +61,11 @@ <% end %> <% unless @election.active? %> -

Start Election

+ +
+ Start Election + +
<% if @election.start_blockers.length > 0 %>

Your vote cannot be started for the following reasons: