]> projects.mako.cc - selectricity-live/blobdiff - app/views/quickvote/_advanced.rhtml
Allow custimizable graph sizes, to fit with newly modular results page. Also,
[selectricity-live] / app / views / quickvote / _advanced.rhtml
index 5699fd06b82a60fa41a35f8647fd1d4ac158032f..3037ccc7c6b70e5a0d45adf846b9ac0a2b513d3b 100644 (file)
@@ -2,10 +2,10 @@
 <% fields_for 'quickvote', quickvote do |quickform| %>
 
 <span><label for="quickvote_election_method">Election Method</span><br />
-<%= quickform.select ('election_method', 
+<%= quickform.select('election_method', 
     %w(ssd condorcet plurality approval borda) ) %><br />
 
 <span><label for="quickvote_enddate">End Time</span><br />
-<%= quickform.date_select(:enddate) %><br />
+<%= quickform.date_select(:enddate, :start_year => Time.now.year) %><br />
 
 <% end %>

Benjamin Mako Hill || Want to submit a patch?