X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/57a193789d1f48a856816c357483cfd7c621cd9d..ee280d9250b5b4c925cc6b4809ce40437d600e7d:/app/views/election/_overview_form.rhtml diff --git a/app/views/election/_overview_form.rhtml b/app/views/election/_overview_form.rhtml index 1f540c6..a36e817 100644 --- a/app/views/election/_overview_form.rhtml +++ b/app/views/election/_overview_form.rhtml @@ -17,7 +17,7 @@


All elections end at 23:59.
-<%= date_select :election, :enddate %>

+<%= datetime_select :election, :enddate, {:discard_hour=>true, :discard_minute=>true} %>


<% type_hash = {}; ELECTION_TYPES.each {|k,v| type_hash[v] = k} %>