X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/9129a21b28c88064edfcfc8a8fa23a640f29819c..15870a550ddd18192efc71c1355a238e7c7c53e8:/app/views/voter/_vote_sidebar.rhtml diff --git a/app/views/voter/_vote_sidebar.rhtml b/app/views/voter/_vote_sidebar.rhtml index 2f250e0..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 => @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 %>