X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b25a468e3c0aeb868f46ea758d4cf33ad7890bcb..d66b4b3d2f379ed61ef2b33bb2b0507267827f98:/app/views/user/logout.html.erb?ds=inline
diff --git a/app/views/user/logout.html.erb b/app/views/user/logout.html.erb
index 8cf762474..f0faae9c4 100644
--- a/app/views/user/logout.html.erb
+++ b/app/views/user/logout.html.erb
@@ -1,6 +1,9 @@
-
<%= t 'user.logout.heading' %>
+<% 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 %>