]> projects.mako.cc - selectricity/blob - app/views/quickvote/_advanced.rhtml
Added a method, views, and corresponding route so that a user can track the
[selectricity] / 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 <% end %>

Benjamin Mako Hill || Want to submit a patch?