X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/63d211e4a6c960da8859d221a93875b966c22b5e..d28ae2ad0ab336a5c1f1b7152945b30a4e2cfd02:/app/views/user/account.html.erb
diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb
index e5cbe22b5..47a84e99b 100644
--- a/app/views/user/account.html.erb
+++ b/app/views/user/account.html.erb
@@ -1,5 +1,9 @@
+<% content_for :head do %>
+ <%= javascript_include_tag "user" %>
+<% end %>
+
<% content_for :heading do %>
-
<%= t 'user.account.my settings' %>
+ <%= t 'user.account.my settings' %>
- <%= link_to t('user.account.return to profile'), :controller => 'user', :action => 'view', :display_name => @user.display_name %>
- <%= link_to t('user.view.oauth settings'), :controller => 'oauth_clients', :action => 'index' %>
@@ -43,8 +47,9 @@
@@ -161,9 +166,6 @@
checked="checked" <% end %> id="updatehome" />
- <% content_for :head do %>
- <%= javascript_include_tag "user" %>
- <% end %>
<%= content_tag "div", "", :id => "map", :class => "content_map settings_map set_location" %>