Fix midnight end times.
[selectricity-live] / app / views / election / _overview_form.rhtml
index be90de6593f3944d0c87accd0dff4e792f6dec2a..a36e8172257f0e4dfb9ec17f227cd5186c436e61 100644 (file)
 
 <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>
+<%= datetime_select :election, :enddate, {:discard_hour=>true, :discard_minute=>true} %></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>
 
-<p><label for="election_election_method">Enable Embeddable Elections?</label>
-<%= check_box :election, :embeddable %></p>
+<p><label for="election_verifiable">Enable voter verifiable
+elections?</label>
+<%= check_box :election, :verifiable%></p>
 
-<p><label for="election_election_method">Should results be visible before end of election?</label>
+<p><label for="election_early_results">Should results be visible before end of election?</label>
 <%= check_box :election, :early_results%></p>
 
+<p><label for="election_embeddable">Enable embeddable elections?</label>
+<%= check_box :election, :embeddable %></p>
+
+<p><label for="election_kiosk">Enable kiosk mode?</label>
+<em><strong>Warning:</strong> This will let users vote multiple times
+from the same computer!</em>
+<%= check_box :election, :kiosk%></p>
+
 <!--[eoform:election]-->
 

Benjamin Mako Hill || Want to submit a patch?