X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/3e545735b4784af19edec9bfcc8e25ff17cb7f12..c1a2748a2d981e8c91f4fc69c6e67a31880d4c0d:/app/views/quickvote/_advanced.rhtml
diff --git a/app/views/quickvote/_advanced.rhtml b/app/views/quickvote/_advanced.rhtml
index 0255fbd..609e84a 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) %>
-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)%> +
Would you like to be e-mailed when this QuickVote concludes?
+ +Yes <%= quickform.radio_button(:notices, 1)%> No <%= quickform.radio_button(:notices, 0)%>
<% end -%>