X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a99b5169626d3369886c471e846020fbff301dbc..43e12e7d02307ad92cc51ebd09f4e88a466168aa:/app/views/user/account.html.erb diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index d5bcb3821..abece879f 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -66,6 +66,11 @@ <%= f.text_field :languages %> + + <%= t 'user.account.preferred editor' %> + <%= f.select :preferred_editor, [[t("editor.default", :name => t("editor.#{DEFAULT_EDITOR}.name")), 'default']] + Editors::ALL_EDITORS.collect { |e| [t("editor.#{e}.description"), e] } %> + + <%= t 'user.account.image' %> @@ -96,7 +101,7 @@ class="nohome" <%end%> > <%= t 'user.account.home location' %> - <%= t 'user.account.no home location' %><%= t 'user.account.latitude' %> <%= f.text_field :home_lat, :size => 20, :id => "home_lat" %><%= t 'user.account.longitude' %><%= f.text_field :home_lon, :size => 20, :id => "home_lon" %> + <%= t 'user.account.no home location' %><%= t 'user.account.latitude' %> <%= f.text_field :home_lat, :size => 20, :id => "home_lat" %> <%= t 'user.account.longitude' %><%= f.text_field :home_lon, :size => 20, :id => "home_lon" %> @@ -114,7 +119,7 @@ <% end %> -<%= render :partial => 'map' %> +<%= render :partial => 'map', :locals => { :setting_location => true, :show_other_users => false } %> <% unless @user.data_public? %>