]> projects.mako.cc - selectricity/blobdiff - app/views/quickvote/_advanced.rhtml
Clean up a deprecation warning and another warning.
[selectricity] / app / views / quickvote / _advanced.rhtml
index 3037ccc7c6b70e5a0d45adf846b9ac0a2b513d3b..0255fbd6e27599285556adc61c5ce21d06f8dbc9 100644 (file)
@@ -8,4 +8,14 @@
 <span><label for="quickvote_enddate">End Time</span><br />
 <%= quickform.date_select(:enddate, :start_year => Time.now.year) %><br />
 
+</p>Want the results to be visible while the election is active?
+Yes <%= quickform.radio_button(:viewable, 1)%>
+No  <%= quickform.radio_button(:viewable, 0)%></p>
+
+<% if session[:user] %>
+<p>Would you like to be e-mailed when this QuickVote concludes?
+Yes <%= quickform.radio_button(:notices, 1)%>
+No  <%= quickform.radio_button(:notices, 0)%></p>
+<% end -%>
+
 <% end %>

Benjamin Mako Hill || Want to submit a patch?