Made a large number of mostly cosmetic fixes after a detailed
[selectricity] / app / views / voter / _vote.rhtml
index e74202104929f63f7acabe19b89e12714ea72465..dc240af61ea0d3e81e308f3c6db2dd36c0bdb37c 100644 (file)
@@ -1,37 +1,23 @@
 <% %>
 
-<% if @voter.election.quickvote? %>
-  <h1>QuickVote: <em><%= @voter.election.name %></em></h1>
-  <p><strong>Description:</strong></p>
-  <blockquote><%= @voter.election.description %></blockquote>
-<% else %>
-  <p><strong>Election:</strong> <%= @voter.election.name %></p>
-  <p><strong>Voter:</strong> <%= @voter.email %></p>
-  <p><strong>Description:</strong></p>
-  <blockquote><%= @voter.election.description %></blockquote>
-<% end %>
-
-<p><strong>Candidates:</strong></p>
+<p><strong>Candidates or choices:</strong></p>
 <ol>
 <% for candidate in @voter.election.candidates.sort %>
-  <li><%= candidate.name %></li>
+  <li><%= candidate.name.capitalize %></li>
 <% end %>
 </ol>
 
-<hr />
-
-<h2>Place Your Vote Here</h2>
-
-<p>Rank each candidate in order of more preferred to least
-preferred. (e.g., 123 or 321 or 213, etc.)</p>
+<p>In the box below, list each choice in order of most preferred to
+least preferred. Please list <em>all</em> choices in every vote.
+<em>(For example, 123 or 321 or 213, etc.)</em></p>
 
 <% if @voter.election.quickvote? %>
-  <%= form_tag quickconfirm_url( :votename => @voter.election.name ) %>
+  <%= form_tag quickaction_url( :votename => @voter.election.name, :action => 'confirm') %>
 <% else %>
   <%= form_tag :action => 'review', :id => @voter.password %>
 <% end %>
 
 <%= text_field :vote, :votestring -%>
-<%= submit_tag "Submit!" %>
+<%= submit_tag "Vote!" %>
 <%= end_form_tag %>
 

Benjamin Mako Hill || Want to submit a patch?