X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/da6c29f53b3598a6d2d9959df277b0340bc54cee..57a193789d1f48a856816c357483cfd7c621cd9d:/app/views/voter/_vote_sidebar.rhtml diff --git a/app/views/voter/_vote_sidebar.rhtml b/app/views/voter/_vote_sidebar.rhtml index 5b8d038..58b1e56 100644 --- a/app/views/voter/_vote_sidebar.rhtml +++ b/app/views/voter/_vote_sidebar.rhtml @@ -6,5 +6,9 @@ order.

<%= render :partial => 'common/sortable_vote' %>
-<%= button_to "Submit Vote", :action => 'review', :id => @voter.password %> +<% if @voter.election.kiosk and params[:kiosk] == "true" %> + <%= button_to "Submit Vote", :action => 'review', :id => @password, :kiosk => true %> +<% else %> + <%= button_to "Submit Vote", :action => 'review', :id => @password %> +<% end %>