Renamed "elections" controller to "election."
[selectricity] / app / views / election / _voters_form.rhtml
diff --git a/app/views/election/_voters_form.rhtml b/app/views/election/_voters_form.rhtml
new file mode 100644 (file)
index 0000000..620b508
--- /dev/null
@@ -0,0 +1,10 @@
+<p>Please enter a list of new email addresses of potential voters.</p>
+
+<%= text_area :raw_voter_list, :input_addresses %>
+
+<p>Email voters:
+<%= select :raw_voter_list, :email, [ [ 'Never', 0 ],
+                              [ 'Now', 1 ],
+                              [ 'Vote Start', 2 ] ]  %>
+</p>
+<%= submit_tag "Add" %>

Benjamin Mako Hill || Want to submit a patch?