X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/bb00f866dd4d827532f34091dc439457fdda975d..3e0d5a9b6af9ec1283b0c0e8cfae6cca9c2bea3a:/app/views/election/show.rhtml?ds=sidebyside diff --git a/app/views/election/show.rhtml b/app/views/election/show.rhtml index 2a23168..3e63628 100644 --- a/app/views/election/show.rhtml +++ b/app/views/election/show.rhtml @@ -1,4 +1,7 @@ -
Summary
@@ -32,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 %> @@ -44,7 +48,10 @@ <% end %> -Voters
++ Voters + +<% unless @election.voters.empty? %> <%= render :partial => 'voter_list' %> @@ -54,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: