]> projects.mako.cc - selectricity-live/blobdiff - app/views/election/_voter_list.rhtml
The results page should now work for scaling embeddableelections as well.
[selectricity-live] / app / views / election / _voter_list.rhtml
old mode 100755 (executable)
new mode 100644 (file)
index c55afdb..4493b0a
@@ -1,12 +1,13 @@
-<% %>
-
 <% if @election.voters.length == 0 %>
+
 <p>There are currently no voters registered for this election.</p>
+
 <% else %>
+
 <p>The following voters are currently registered for this election:</p>
 
 <ul>
-  <% @election.voters.each do |voter| %>
+<% @election.voters.each do |voter| %>
   <div id="voter<%= voter.id %>">
     <li><%= voter.email %>
         <% if @edit %>

Benjamin Mako Hill || Want to submit a patch?