X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/25f27a753f6a79bc1ae494e42cf03b9880d0bdcd..a17bd24f829a02f1108bb9cd40c0721f48abb3a3:/app/views/users/logout.html.erb?ds=sidebyside diff --git a/app/views/users/logout.html.erb b/app/views/users/logout.html.erb index f0faae9c4..3ae4d14f6 100644 --- a/app/views/users/logout.html.erb +++ b/app/views/users/logout.html.erb @@ -1,9 +1,8 @@ <% content_for :heading do %> -

<%= t '.heading' %>

+

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