]> projects.mako.cc - selectricity-live/blobdiff - app/views/election/_voters_form.rhtml
Added a check to make sure a voter has a valid email address before attempting ot...
[selectricity-live] / app / views / election / _voters_form.rhtml
index 3b01c007c39843cd41eb1fce4d50fb9a96bb15d5..7819429b1e7668c515a58fc82da152bde5e61ddb 100644 (file)
@@ -1,7 +1,7 @@
 <p>Please enter a list of new email addresses of voters (one email
 address per line).</p>
 
-<%= text_area :raw_voter_list, :input_addresses %>
+<%= text_area :raw_voter_list, :input_addresses, :cols => 60, :rows => 8 %>
 
 <!-- 
 <p>Email voters:
@@ -9,5 +9,7 @@ address per line).</p>
                               [ 'Now', 1 ],
                               [ 'Vote Start', 2 ] ]  %>
 -->
+<%= hidden_field :raw_voter_list, :email, :value => 2 %>
 </p>
-<%= submit_tag "Add Voters" %>
+<p><%= submit_tag "Add Voters" %></p>
+

Benjamin Mako Hill || Want to submit a patch?