X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/75091532075247ae9c47164ea883f4fe803eddf4..07c4c28f94d7628c0d5c48db810956f680c5f48e:/app/views/voter/_vote.rhtml?ds=sidebyside diff --git a/app/views/voter/_vote.rhtml b/app/views/voter/_vote.rhtml index e742021..914077c 100644 --- a/app/views/voter/_vote.rhtml +++ b/app/views/voter/_vote.rhtml @@ -1,37 +1,18 @@ <% %> -<% if @voter.election.quickvote? %> -

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

-

Description:

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

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

-

Voter: <%= @voter.email %>

-

Description:

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

Candidates:

+

Candidates or choices:

    <% for candidate in @voter.election.candidates.sort %> -
  1. <%= candidate.name %>
  2. +
  3. <%= candidate.name.capitalize %>
  4. <% end %>
-
- -

Place Your Vote Here

- -

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 %> +

In the box below, list each choice in order of most preferred to +least preferred. Please list all choices in every vote. +(For example, 123 or 321 or 213, etc.)

+<%= form_tag :action => 'review', :id => @voter.password %> <%= text_field :vote, :votestring -%> -<%= submit_tag "Submit!" %> -<%= end_form_tag %> +<%= submit_tag "Vote!" %> +