X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/45532efec547148def34ac29a1ea1c9652420d37..5901217a8893619fbdb02d540c08390f92eae368:/app/views/election/_overview_form.rhtml diff --git a/app/views/election/_overview_form.rhtml b/app/views/election/_overview_form.rhtml index 7d575e9..8efa1b3 100644 --- a/app/views/election/_overview_form.rhtml +++ b/app/views/election/_overview_form.rhtml @@ -15,9 +15,13 @@ <%= datetime_select :election, :startdate %>

--> -

Election End Date
+


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

+


+<% type_hash = {}; ELECTION_TYPES.each {|k,v| type_hash[v] = k} %> +<%= select_tag 'election[election_method]', options_for_select(type_hash, @election.election_method) %>

+