Renamed "elections" controller to "election."
[selectricity] / app / views / elections / _voter_list.rhtml
diff --git a/app/views/elections/_voter_list.rhtml b/app/views/elections/_voter_list.rhtml
deleted file mode 100644 (file)
index c1035d7..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<%
-# basic election information template
--%>
-
-<% unless @election.voters.empty? %>
-  <p>The following voters are currently registered for this election:</p>
-
-  <ul>
-    <% @election.voters.each do |voter| %>
-    <div id="voter<%= voter.id %>">
-      <li><%= voter.email %>
-          <% if @edit %>
-          <%= link_to_remote "Delete",
-                      :complete => "Element.remove('voter#{voter.id}')",
-                     :url => { :action => :delete_voter, :id => voter.id } %>
-         <% end %>
-      </li>
-    </div>  
-    <% end %>
-  </ul>
-<% end %>
-
-

Benjamin Mako Hill || Want to submit a patch?