X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/04f827dd4647f3a7d6e5bd8f5e9083c730a8dccc..ee280d9250b5b4c925cc6b4809ce40437d600e7d:/app/views/voter/full_vote.rhtml?ds=inline diff --git a/app/views/voter/full_vote.rhtml b/app/views/voter/full_vote.rhtml index 2f1fc22..be4f7be 100644 --- a/app/views/voter/full_vote.rhtml +++ b/app/views/voter/full_vote.rhtml @@ -1,10 +1,42 @@ -<% %> +
+ Vote + <%= @voter.election.name %> +
-

Election: <%= @voter.election.name %>

-

Voter: <%= @voter.email %>

Description:

-
<%= @voter.election.description %>
+

<%= @voter.election.description %>

-<%= render_partial 'vote' %> +<% if @voter.election.authenticated? %> +
+ Current Voter + +
+<% end %> +

<%= @voter.email %>

+ +
+ Instructions + +
+ +

Drag and drop the items on list in the left column +until they are in order from most preferred at the top to least +preferred at the bottom. When you are done, press the 'Submit Vote' +button at the bottom of the left column to record your +vote.

+ +
+ Candidate List + +
+ +<% @voter.election.candidates.each do |candidate| %> + <% @current_candidate = candidate %> +
+

<%= h @current_candidate.name %>

+ <%= render :partial => 'election/candidate_box_info' %> +
+ <% end %> +