X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ff7ddb6b86bf918a9418af7382836b41594d45e4..85bf0af4886f155e8521a6ccffedfa845133b611:/app/views/users/account.html.erb diff --git a/app/views/users/account.html.erb b/app/views/users/account.html.erb index fadb74f4c..394e81cd1 100644 --- a/app/views/users/account.html.erb +++ b/app/views/users/account.html.erb @@ -48,7 +48,7 @@
- <%= f.select :auth_provider, Auth::PROVIDERS %> + <%= f.select :auth_provider, Auth.providers %> <%= f.text_field :auth_uid %> (" target="_new"><%= t ".openid.link text" %>)
@@ -85,7 +85,7 @@
- <%= f.select :preferred_editor, [[t("editor.default", :name => t("editor.#{Settings.default_editor}.name")), "default"]] + Editors::ALL_EDITORS.collect { |e| [t("editor.#{e}.description"), e] } %> + <%= f.select :preferred_editor, [[t("editor.default", :name => t("editor.#{Settings.default_editor}.name")), "default"]] + Editors::AVAILABLE_EDITORS.collect { |e| [t("editor.#{e}.description"), e] } %>
@@ -166,7 +166,7 @@ checked="checked" <% end %> id="updatehome" /> - <%= content_tag "div", "", :id => "map", :class => "content_map settings_map set_location" %> + <%= tag.div "", :id => "map", :class => "content_map set_location" %> <%= submit_tag t(".save changes button") %>