]> projects.mako.cc - selectricity/blobdiff - app/views/election/_voter_list.rhtml
updated db schema
[selectricity] / app / views / election / _voter_list.rhtml
index c55afdb63e62ebc10768bfc1fb3c65c67d76c09f..4493b0a3950f5c862576f4172c7463004a9d15fa 100644 (file)
@@ -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?