X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/a8006b0bf9687f8882c3073eca2e8b4ebc7cde4a..86087be54da5f8c3af8fa475fafebd0c5527da9f:/app/views/quickvote/_advanced.rhtml diff --git a/app/views/quickvote/_advanced.rhtml b/app/views/quickvote/_advanced.rhtml index 5699fd0..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) %>

+ +

Visibility

+ +

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

Notification

+ +

Would you like to be e-mailed when this QuickVote concludes?

-
-<%= quickform.date_select(:enddate) %>
+

Yes <%= quickform.radio_button(:notices, 1)%> +No <%= quickform.radio_button(:notices, 0)%>

+<% end -%> <% end %>