X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/4efa3e9bc47cc649205a399fde51ed7e61bef7f8..15870a550ddd18192efc71c1355a238e7c7c53e8:/app/views/election/_overview_form.rhtml?ds=inline diff --git a/app/views/election/_overview_form.rhtml b/app/views/election/_overview_form.rhtml index 899f00b..a36e817 100644 --- a/app/views/election/_overview_form.rhtml +++ b/app/views/election/_overview_form.rhtml @@ -1,22 +1,42 @@ <%= error_messages_for 'election' %> -
-<%= text_field 'election', 'name' %>
+<%= text_field :election, :name, :size => 60 %>
-<%= text_area 'election', 'description' %>
Election End Date
-<%= datetime_select :election, :enddate %>
+All elections end at 23:59.
+<%= datetime_select :election, :enddate, {:discard_hour=>true, :discard_minute=>true} %>
+<% type_hash = {}; ELECTION_TYPES.each {|k,v| type_hash[v] = k} %>
+<%= select_tag 'election[election_method]', options_for_select(type_hash, @election.election_method) %>
+<%= check_box :election, :verifiable%>
+ ++<%= check_box :election, :early_results%>
+ ++<%= check_box :election, :embeddable %>
+ ++Warning: This will let users vote multiple times +from the same computer! +<%= check_box :election, :kiosk%>