X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/d207da8dfc3f315f7758d1f5307c700ce4c25156..75091532075247ae9c47164ea883f4fe803eddf4:/app/views/voter/_vote.rhtml diff --git a/app/views/voter/_vote.rhtml b/app/views/voter/_vote.rhtml new file mode 100644 index 0000000..e742021 --- /dev/null +++ b/app/views/voter/_vote.rhtml @@ -0,0 +1,37 @@ +<% %> + +<% if @voter.election.quickvote? %> +
Description:
+<%= @voter.election.description %>+<% else %> +
Election: <%= @voter.election.name %>
+Voter: <%= @voter.email %>
+Description:
+<%= @voter.election.description %>+<% end %> + +
Candidates:
+Rank each candidate in order of more preferred to least +preferred. (e.g., 123 or 321 or 213, etc.)
+ +<% if @voter.election.quickvote? %> + <%= form_tag quickconfirm_url( :votename => @voter.election.name ) %> +<% else %> + <%= form_tag :action => 'review', :id => @voter.password %> +<% end %> + +<%= text_field :vote, :votestring -%> +<%= submit_tag "Submit!" %> +<%= end_form_tag %> +