X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/64b3e289ac14533c6fb2b1223b6417ad0446878c..9568c7fee85a615830ba78639b2ee8440da60668:/app/views/users/account.html.erb
diff --git a/app/views/users/account.html.erb b/app/views/users/account.html.erb
index 51c933b5d..394e81cd1 100644
--- a/app/views/users/account.html.erb
+++ b/app/views/users/account.html.erb
@@ -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") %>