X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/776bdf980f85cf230b238a80e1019fc78d53f06e..83a39529b634c0344a7884d5813e3f7e1a7dbcb4:/app/views/election/_overview_form.rhtml diff --git a/app/views/election/_overview_form.rhtml b/app/views/election/_overview_form.rhtml index 7d575e9..1f540c6 100644 --- a/app/views/election/_overview_form.rhtml +++ b/app/views/election/_overview_form.rhtml @@ -2,22 +2,41 @@


-<%= text_field 'election', 'name', :size => 60 %>

+<%= text_field :election, :name, :size => 60 %>


-<%= text_area 'election', 'description', :rows => 5, :cols => 60 %>

+<%= text_area :election, :description, :rows => 5, :cols => 60 %>

-

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) %>

+ +

+<%= 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%>

+