]> projects.mako.cc - selectricity/blob - app/views/voter/full_vote.rhtml
Correct some help text.
[selectricity] / app / views / voter / full_vote.rhtml
1 <div id="title-header">
2   <span class="header">Vote</span>
3   <span class="subheader"><%= @voter.election.name %></span>
4 </div>
5
6 <p><strong>Description:</strong></p>
7 <p><%= @voter.election.description %></p>
8
9 <% if @voter.election.authenticated? %>
10 <div class="normal-header">
11   <span class="header">Current Voter</span>
12   <span class="subheader"></span>
13 </div>
14 <% end %>
15
16 <p><strong><%= @voter.email %></strong></p>
17
18 <div class="normal-header">
19   <span class="header">Instructions</span>
20   <span class="subheader"></span>
21 </div>
22
23 <p>Drag and drop the items on <strong>list in the left column</strong>
24 until they are in order from most preferred at the top to least
25 preferred at the bottom. When you are done, press the 'Submit Vote'
26 button at the bottom of the left column to record your
27 vote.</p>
28
29 <div class="normal-header">
30   <span class="header">Candidate List</span>
31   <span class="subheader"></span>
32 </div>
33
34 <% @voter.election.candidates.each do |candidate| %>
35   <% @current_candidate = candidate %>
36   <div id="cand<%= @current_candidate.id %>">
37   <h3><%= h @current_candidate.name %></h3>
38   <%= render :partial => 'election/candidate_box_info' %>
39   </div>
40     <% end %>
41 </ul>
42

Benjamin Mako Hill || Want to submit a patch?