X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a99b5169626d3369886c471e846020fbff301dbc..26b42dbe975dd6c49590eb764879d710e64efbb1:/app/views/user/account.html.erb diff --git a/app/views/user/account.html.erb b/app/views/user/account.html.erb index d5bcb3821..16f3ad7d3 100644 --- a/app/views/user/account.html.erb +++ b/app/views/user/account.html.erb @@ -27,6 +27,11 @@ <%= f.password_field :pass_crypt_confirmation, {:value => '', :size => 30, :maxlength => 255, :autocomplete => :off} %> + + <%= t 'user.account.openid.openid' %> + <%= f.text_field :openid_url, {:class => "openid_url"} %> (<%= t 'user.account.openid.link text' %>) + + <%= t 'user.account.public editing.heading' %> @@ -66,6 +71,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 +106,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 +124,7 @@ <% end %> -<%= render :partial => 'map' %> +<%= render :partial => 'map', :locals => { :setting_location => true, :show_other_users => false } %> <% unless @user.data_public? %>