]> projects.mako.cc - selectricity-live/blobdiff - app/views/election/_overview_form.rhtml
Merge branch 'master' of git://gitorious.org/~ruinar/selectricity/ruinar-selectricity
[selectricity-live] / app / views / election / _overview_form.rhtml
index 1f540c62462e056605af8684753ef6c44380fe38..a36e8172257f0e4dfb9ec17f227cd5186c436e61 100644 (file)
@@ -17,7 +17,7 @@
 
 <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} %>

Benjamin Mako Hill || Want to submit a patch?