X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/1ef3925927fb35483da98af08f9fc175d5502708..5901217a8893619fbdb02d540c08390f92eae368:/app/views/voter/full_vote.rhtml diff --git a/app/views/voter/full_vote.rhtml b/app/views/voter/full_vote.rhtml index cfc20e3..5534090 100644 --- a/app/views/voter/full_vote.rhtml +++ b/app/views/voter/full_vote.rhtml @@ -1,10 +1,41 @@ -<% %> +
+ Vote Recorded + +
-

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

-

Voter: <%= @voter.email %>

Description:

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

<%= @voter.election.description %>

-<%= render :partial => 'sortable_vote' %> +
+ Current Voter + +
-<%= button_to "Submit Vote", :action => 'review', :id => @voter.password %> +

<%= @voter.email %>

+ +
+ Instructions + +
+ +

Drag and drop the items on list in the right 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 -%>

+
+ <%=h (@current_candidate.description) %> +
+
+ <% end %> +