X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a7d304d20f171030d8a8c5f523c9039a02f832f2..c40ad9de0296b28140f13a01a055108b23cb2e7d:/app/views/user/logout.html.erb diff --git a/app/views/user/logout.html.erb b/app/views/user/logout.html.erb index e6d0dec59..2620cdaa6 100644 --- a/app/views/user/logout.html.erb +++ b/app/views/user/logout.html.erb @@ -1,6 +1,9 @@ -

<%= t 'user.logout.heading' %>

-<% form_tag :action => "logout" do %> +<% content_for :heading do %> +

<%= t 'user.logout.heading' %>

+<% end %> + +<%= form_tag :action => "logout" do %> <%= hidden_field_tag("referer", h(params[:referer])) %> - <%= hidden_field_tag("session", request.session_options[:id]) %> + <%= hidden_field_tag("session", session.id) %> <%= submit_tag t('user.logout.logout_button') %> <% end %>