]> projects.mako.cc - selectricity-live/blob - app/views/quickvote/_advanced.rhtml
Install sitealizer stats
[selectricity-live] / app / views / quickvote / _advanced.rhtml
1
2 <% fields_for 'quickvote', quickvote do |quickform| %>
3
4 <span><label for="quickvote_election_method">Election Method</span><br />
5 <%= quickform.select('election_method', 
6     %w(ssd condorcet plurality approval borda) ) %><br />
7
8 <span><label for="quickvote_enddate">End Time</span><br />
9 <%= quickform.date_select(:enddate, :start_year => Time.now.year) %><br />
10
11 </p>Want the results to be visible while the election is active?
12 Yes <%= quickform.radio_button(:viewable, 1)%>
13 No  <%= quickform.radio_button(:viewable, 0)%></p>
14
15 <% if session[:user] %>
16 <p>Would you like to be e-mailed when this QuickVote concludes?
17 Yes <%= quickform.radio_button(:notices, 1)%>
18 No  <%= quickform.radio_button(:notices, 0)%></p>
19 <% end -%>
20
21 <% end %>

Benjamin Mako Hill || Want to submit a patch?