]> projects.mako.cc - selectricity-live/blobdiff - app/views/election/_overview_form.rhtml
merged changed in from devel to activate voting in full elections
[selectricity-live] / app / views / election / _overview_form.rhtml
index 7d575e960e5301d204e8743b23dcb4f7a6cf5d64..8efa1b3769651142c5455f41c7516be1c8618d81 100644 (file)
 <%= datetime_select :election, :startdate %></p>
 --> 
 
 <%= datetime_select :election, :startdate %></p>
 --> 
 
-<p>Election End Date<br />
+<p><label for="election_enddate">Election End Date</label><br />
 <font size="-1"><em>All elections end at 23:59.</em></font><br />
 <%= date_select :election, :enddate %></p>
 
 <font size="-1"><em>All elections end at 23:59.</em></font><br />
 <%= date_select :election, :enddate %></p>
 
+<p><label for="election_election_method">Election Method</label><br />
+<% type_hash = {}; ELECTION_TYPES.each {|k,v| type_hash[v] = k} %>
+<%= select_tag 'election[election_method]', options_for_select(type_hash, @election.election_method) %></p>
+
 <!--[eoform:election]-->
 
 <!--[eoform:election]-->
 

Benjamin Mako Hill || Want to submit a patch?