]> projects.mako.cc - selectricity-live/blob - app/views/voter/full_vote.rhtml
Added some minor TODO's for increased user funcitonality. Change email, beautify...
[selectricity-live] / 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 confirm to record your
26 vote.</p>
27
28 <div class="normal-header">
29   <span class="header">Candidate List</span>
30   <span class="subheader"></span>
31 </div>
32
33 <% @voter.election.candidates.each do |candidate| %>
34   <% @current_candidate = candidate %>
35   <div id="cand<%= @current_candidate.id %>">
36   <h3><%= h @current_candidate.name %></h3>
37   <%= render :partial => 'election/candidate_box_info' %>
38   </div>
39     <% end %>
40 </ul>
41

Benjamin Mako Hill || Want to submit a patch?