]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/account.html.erb
Refactor login form to use bootstrap
[rails.git] / app / views / users / account.html.erb
index ad6614c76ca51a5f02a1c85330310f70d8b419b1..394e81cd1774549e2fae79bc3935e83c4d49aae5 100644 (file)
@@ -85,7 +85,7 @@
     </div>
     <div class="standard-form-row">
       <label class="standard-label"><%= t ".preferred editor" %></label>
     </div>
     <div class="standard-form-row">
       <label class="standard-label"><%= t ".preferred editor" %></label>
-      <%= 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] } %>
     </div>
   </fieldset>
 
     </div>
   </fieldset>