X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8cdd6b6a1cd9d8c521fac1305bc42faab48bd08c..5dda4196d50774e8a44e9e137d45141d4151764b:/app/views/user/account.html.erb?ds=sidebyside diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index 179e1b2f6..2782fc808 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -1,7 +1,10 @@ -

<%= 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' %> +<% content_for :heading do %> +

<%= t 'user.account.my settings' %>

+ +<% end %> <%= error_messages_for 'user' %> <%= form_for :user, :html => { :multipart => true } do |f| %> @@ -86,7 +89,7 @@ <%= user_image @user %> - +
<% if @user.image.file? %> @@ -130,7 +133,7 @@ <% content_for :head do %> <%= javascript_include_tag "user" %> <% end %> - <%= content_tag "div", "", :id => "map", :class => "user_map set_location" %> + <%= content_tag "div", "", :id => "map", :class => "content_map settings_map set_location" %> @@ -146,4 +149,4 @@

<%= t 'user.account.public editing note.heading' %>

<%= raw t 'user.account.public editing note.text' %> <%= button_to t('user.account.make edits public button'), :action => :go_public %> -<% end %> +<% end %> \ No newline at end of file
<%= radio_button_tag "image_action", "keep", !@user.image_use_gravatar %>