]> projects.mako.cc - selectricity/blob - app/views/voter/full_vote.rhtml
9d4f1d0675042eae322e577a5421c015e07f2941
[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
34   <div id="cand<%= @current_candidate.id %>">
35   <h3><%=h @current_candidate.name -%></h3>
36       <blockquote>
37       <%=h (@current_candidate.description) %>
38       </blockquote>
39   </div>
40     <% end %>
41 </ul>

Benjamin Mako Hill || Want to submit a patch?