X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/776bdf980f85cf230b238a80e1019fc78d53f06e..5aba48adb5fc188efeddc38675abd5e1e3a88844:/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 e6ccb26..5e8a8d1 100644 --- a/app/views/voter/full_vote.rhtml +++ b/app/views/voter/full_vote.rhtml @@ -1,13 +1,39 @@ -<% %> +
+ Vote + <%= @voter.election.name %> +
-

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

-

Voter: <%= @voter.email %>

Description:

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

<%= @voter.election.description %>

-<%= render :partial => 'vote' %> +
+ Current Voter + +
-<%= 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 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 %> +