X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d36fab2913d10bef4eae2cee7c34875f20311af9..b4106383d99ccbf152d79b0f2c9deca95df9fb61:/app/views/user/logout.html.erb
diff --git a/app/views/user/logout.html.erb b/app/views/user/logout.html.erb
index e6d0dec59..f0faae9c4 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 '.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') %>
+ <%= hidden_field_tag("session", session.id) %>
+ <%= submit_tag t('.logout_button') %>
<% end %>