X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/823d530ba46c1fb3518c4deef0081738503837eb..76d004e65849704022d744382a3779deeb7fef4a:/app/views/quickvote/_advanced.rhtml
diff --git a/app/views/quickvote/_advanced.rhtml b/app/views/quickvote/_advanced.rhtml
index 3037ccc..609e84a 100644
--- a/app/views/quickvote/_advanced.rhtml
+++ b/app/views/quickvote/_advanced.rhtml
@@ -1,11 +1,27 @@
-
<% 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)%> +No <%= quickform.radio_button(:notices, 0)%>
+<% end -%> <% end %>