]> projects.mako.cc - selectricity-live/blobdiff - app/views/election/_overview_form.rhtml
added template left out from last committ by accident
[selectricity-live] / app / views / election / _overview_form.rhtml
old mode 100755 (executable)
new mode 100644 (file)
index d5d7b6c..8efa1b3
@@ -1,7 +1,7 @@
 <%= error_messages_for 'election' %>
 
 <!--[form:election]-->
-<p><label for="election_name">Summary</label><br/>
+<p><label for="election_name">Title</label><br/>
 <%= text_field 'election', 'name', :size => 60 %></p>
 
 <p><label for="election_description">Description</label><br/>
 <%= 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>
 
+<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]-->
 

Benjamin Mako Hill || Want to submit a patch?