]> projects.mako.cc - selectricity/blob - app/views/voter/full_vote.rhtml
The account summary page has been updated, though the number of items displayed is...
[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 <div class="normal-header">
10   <span class="header">Current Voter</span>
11   <span class="subheader"></span>
12 </div>
13
14 <p><strong><%= @voter.email %></strong></p>
15
16 <div class="normal-header">
17   <span class="header">Instructions</span>
18   <span class="subheader"></span>
19 </div>
20
21 <p>Drag and drop the items on <strong>list in the left column</strong>
22 until they are in order from most preferred at the top to least
23 preferred at the bottom. When you are done, press confirm to record your
24 vote.</p>
25
26 <div class="normal-header">
27   <span class="header">Candidate List</span>
28   <span class="subheader"></span>
29 </div>
30
31 <% @voter.election.candidates.each do |candidate| %>
32   <% @current_candidate = candidate %>
33   <div id="cand<%= @current_candidate.id %>">
34   <h3><%= h @current_candidate.name %></h3>
35   <%= render :partial => 'election/candidate_box_info' %>
36   </div>
37     <% end %>
38 </ul>
39

Benjamin Mako Hill || Want to submit a patch?