X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/03f733c4f4091dc53e391aa74a020681af98a4ff..206e1309a95b498a220d8de6cf4ed5970ebd6778:/app/views/user/logout.html.erb diff --git a/app/views/user/logout.html.erb b/app/views/user/logout.html.erb index e6d0dec59..bb67d1581 100644 --- a/app/views/user/logout.html.erb +++ b/app/views/user/logout.html.erb @@ -1,5 +1,8 @@ -

<%= 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]) %> <%= submit_tag t('user.logout.logout_button') %>