Added a series of files so that elections can be created and edited and
[selectricity] / app / views / elections / edit_voters.rhtml
index 64ec446d6c2c93d1c2500e2ae4d462cc3b6495c7..36de3eb3f9e6d6168cebbe543a4e19050d405f00 100644 (file)
@@ -1,4 +1,10 @@
 <% @edit = true %>
 <h1><strong><%= @election.name %>:</strong> Edit Voter Rolls</h1>
 
-<%= button_to "Done!", :action => 'show', :id => @election %>
+<%= render :partial => 'voter_list' %>
+
+<%= form_tag :action => 'edit_voters', :id => @election.id %>
+<%= render :partial => 'voters_form' %>
+<%= end_form_tag %>
+
+<%= button_to 'Done!', :action => 'show', :id => @election.id %>

Benjamin Mako Hill || Want to submit a patch?