]> projects.mako.cc - selectricity-live/blobdiff - app/views/election/_voter_list.rhtml
Added individual widgets for embeddable voting to images folder, aboutot start editing.
[selectricity-live] / app / views / election / _voter_list.rhtml
index c55afdb63e62ebc10768bfc1fb3c65c67d76c09f..4493b0a3950f5c862576f4172c7463004a9d15fa 100644 (file)
@@ -1,12 +1,13 @@
-<% %>
-
 <% if @election.voters.length == 0 %>
 <% if @election.voters.length == 0 %>
+
 <p>There are currently no voters registered for this election.</p>
 <p>There are currently no voters registered for this election.</p>
+
 <% else %>
 <% else %>
+
 <p>The following voters are currently registered for this election:</p>
 
 <ul>
 <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 %>
   <div id="voter<%= voter.id %>">
     <li><%= voter.email %>
         <% if @edit %>

Benjamin Mako Hill || Want to submit a patch?