]> projects.mako.cc - selectricity/blobdiff - app/views/quickvote/_advanced.rhtml
Merge jdong
[selectricity] / app / views / quickvote / _advanced.rhtml
index 0255fbd6e27599285556adc61c5ce21d06f8dbc9..609e84a28ec324ac82a7f56c9b2f50d5bc69ac75 100644 (file)
@@ -1,20 +1,26 @@
-
 <% fields_for 'quickvote', quickvote do |quickform| %>
 
 <% fields_for 'quickvote', quickvote do |quickform| %>
 
-<span><label for="quickvote_election_method">Election Method</span><br />
-<%= quickform.select('election_method', 
-    %w(ssd condorcet plurality approval borda) ) %><br />
+<h3><label for="quickvote_election_method">Election Method</label></h3>
+
+<p><%= quickform.select('election_method', 
+    %w(ssd condorcet plurality approval borda) ) %></p>
+
+<h3><label for="quickvote_enddate">End Time</label></h3>
+<p><%= quickform.date_select(:enddate, :start_year => Time.now.year) %></p>
 
 
-<span><label for="quickvote_enddate">End Time</span><br />
-<%= quickform.date_select(:enddate, :start_year => Time.now.year) %><br />
+<h3>Visibility</h3>
 
 
-</p>Want the results to be visible while the election is active?
-Yes <%= quickform.radio_button(:viewable, 1)%>
+<p>Do you want the results to be visible while the election is active?</p>
+
+<p>Yes <%= quickform.radio_button(:viewable, 1)%>
 No  <%= quickform.radio_button(:viewable, 0)%></p>
 
 <% if session[:user] %>
 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)%>
+<h3>Notification</h3>
+
+<p>Would you like to be e-mailed when this QuickVote concludes?</p>
+
+<p>Yes <%= quickform.radio_button(:notices, 1)%>
 No  <%= quickform.radio_button(:notices, 0)%></p>
 <% end -%>
 
 No  <%= quickform.radio_button(:notices, 0)%></p>
 <% end -%>
 

Benjamin Mako Hill || Want to submit a patch?