X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/8f23a174c70223831055e1498b50c3ba260858fe..15870a550ddd18192efc71c1355a238e7c7c53e8:/app/views/voter/full_vote.rhtml?ds=sidebyside diff --git a/app/views/voter/full_vote.rhtml b/app/views/voter/full_vote.rhtml index e6ccb26..be4f7be 100644 --- a/app/views/voter/full_vote.rhtml +++ b/app/views/voter/full_vote.rhtml @@ -1,13 +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 %> -<%= render :partial => 'sortable_vote' %> +

<%= @voter.email %>

-<%= button_to "Submit Vote", :action => 'review', :id => @voter.password %> +
+ 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 %> +