X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/ffec26b00fc14b92f82137e1e3c62ce78c93ea24..3f5f14d1c73ff2614b0012d027e7360583e1a70e:/app/views/quickvote/_advanced.rhtml?ds=inline
diff --git a/app/views/quickvote/_advanced.rhtml b/app/views/quickvote/_advanced.rhtml
index 0255fbd..d8228cf 100644
--- a/app/views/quickvote/_advanced.rhtml
+++ b/app/views/quickvote/_advanced.rhtml
@@ -1,20 +1,26 @@
-
<% fields_for 'quickvote', quickvote do |quickform| %>
-
-<%= quickform.select('election_method',
- %w(ssd condorcet plurality approval borda) ) %>
+
<%= quickform.select('election_method', + %w(ssd condorcet plurality approval borda) ) %>
+ + +<%= quickform.date_select(:enddate, :start_year => Time.now.year) %>
-Visibility
-Want the results to be visible while the election is active? -Yes <%= quickform.radio_button(:viewable, 1)%> +Do you want the results to be visible while the election is active?
+ +Yes <%= quickform.radio_button(:viewable, 1)%> No <%= quickform.radio_button(:viewable, 0)%>
<% if session[:user] %> -Would you like to be e-mailed when this QuickVote concludes? -Yes <%= quickform.radio_button(:notices, 1)%> +
Notification
+ +Would you like to be e-mailed when this QuickVote concludes?
+ +Yes <%= quickform.radio_button(:notices, 1)%> No <%= quickform.radio_button(:notices, 0)%>
<% end -%>