]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/account.html.erb
Split user preferences into a separate page
[rails.git] / app / views / users / account.html.erb
index 10b33063e773c4c04611abb58da9e96e2b3148e2..f1c46c710bdaf08226c763605e6f54b384214ff5 100644 (file)
@@ -6,7 +6,9 @@
   <h1><%= t ".my settings" %></h1>
   <ul class='secondary-actions clearfix'>
     <li><%= link_to t(".return to profile"), user_path(current_user) %></li>
-    <li><%= link_to t("users.show.oauth settings"), :controller => "oauth_clients", :action => "index" %></li>
+    <li><%= link_to t(".oauth1 settings"), oauth_clients_path %></li>
+    <li><%= link_to t(".oauth2 applications"), oauth_applications_path %></li>
+    <li><%= link_to t(".oauth2 authorizations"), oauth_authorized_applications_path %></li>
   </ul>
 <% end %>
 
@@ -56,9 +58,7 @@
     </span>
   </div>
 
-  <%= 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] } %>
   <%= f.richtext_field :description, :cols => 80, :rows => 20 %>
-  <%= f.text_field :languages %>
 
   <fieldset class="form-group">
     <%= f.label t(".image") %>