]> projects.mako.cc - selectricity/blobdiff - app/views/election/edit_voters.rhtml
Renamed "elections" controller to "election."
[selectricity] / app / views / election / edit_voters.rhtml
diff --git a/app/views/election/edit_voters.rhtml b/app/views/election/edit_voters.rhtml
new file mode 100644 (file)
index 0000000..36de3eb
--- /dev/null
@@ -0,0 +1,10 @@
+<% @edit = true %>
+<h1><strong><%= @election.name %>:</strong> Edit Voter Rolls</h1>
+
+<%= 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?