X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/783b5e3729228908d7404ae7404af1023501a906..e80571c22c91061c3fc5f3b6fc164522d05031cb:/app/views/users/logout.html.erb diff --git a/app/views/users/logout.html.erb b/app/views/users/logout.html.erb index 273c7e1b9..3ae4d14f6 100644 --- a/app/views/users/logout.html.erb +++ b/app/views/users/logout.html.erb @@ -2,8 +2,7 @@

<%= t ".heading" %>

<% end %> -<%= form_tag :action => "logout" do %> - <%= hidden_field_tag("referer", h(params[:referer])) %> - <%= hidden_field_tag("session", session.id) %> - <%= submit_tag t(".logout_button") %> +<%= bootstrap_form_tag do |f| %> + <%= f.hidden_field :referer, :value => params[:referer] %> + <%= f.primary t(".logout_button") %> <% end %>