1 <% fields_for 'quickvote', quickvote do |quickform| %>
3 <h3><label for="quickvote_election_method">Election Method</label></h3>
5 <p><%= quickform.select('election_method',
6 %w(ssd condorcet plurality approval borda) ) %></p>
8 <h3><label for="quickvote_enddate">End Time</label></h3>
9 <p><%= quickform.date_select(:enddate, :start_year => Time.now.year) %></p>
13 <p>Do you want the results to be visible while the election is active?</p>
15 <p>Yes <%= quickform.radio_button(:viewable, 1)%>
16 No <%= quickform.radio_button(:viewable, 0)%></p>
18 <% if session[:user] %>
21 <p>Would you like to be e-mailed when this QuickVote concludes?</p>
23 <p>Yes <%= quickform.radio_button(:notices, 1)%>
24 No <%= quickform.radio_button(:notices, 0)%></p>