]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/account.html.erb
Avoid integer overflow when computing shortcodes
[rails.git] / app / views / user / account.html.erb
index d5bcb38216e32ebac4037b5632918c553190a13e..7047b5b8213e47cfa92b7b4047a6696b5f038b4a 100644 (file)
     <td><%= f.text_field :languages %></td>
   </tr>
 
+  <tr>
+    <td class="fieldName" valign="top"><%= t 'user.account.preferred editor' %></td>
+    <td><%= f.select :preferred_editor, [[t("editor.default", :name => t("editor.#{DEFAULT_EDITOR}.name")), 'default']] + Editors::ALL_EDITORS.collect { |e| [t("editor.#{e}.description"), e] } %></td>
+  </tr>
+
   <tr>
     <td class="fieldName" valign="top">
       <%= t 'user.account.image' %>