X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/2857ac6197adfe972a5e6129a3f26af9e148edb1..597d4add3416d06c2befb6368a06f6cea4215a39:/app/views/voter/full_vote.rhtml diff --git a/app/views/voter/full_vote.rhtml b/app/views/voter/full_vote.rhtml index cfc20e3..5e8a8d1 100644 --- a/app/views/voter/full_vote.rhtml +++ b/app/views/voter/full_vote.rhtml @@ -1,10 +1,39 @@ -<% %> +
+ Vote + <%= @voter.election.name %> +
-

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

-

Voter: <%= @voter.email %>

Description:

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

<%= @voter.election.description %>

-<%= render :partial => 'sortable_vote' %> +
+ Current Voter + +
+ +

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