]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/users/show.html.erb
Refactor the account edit/update pages out into a separate accounts controller
[rails.git] / app / views / users / show.html.erb
index 5aaeabb23b85f99f572005a8221e03fbba95a628..b55e61f26d48a412e62a526c2dc61925f17a7264 100644 (file)
@@ -1,7 +1,7 @@
 <% content_for :heading do %>
-  <div id="userinformation" class="row">
+  <div class="row">
     <div class="col-sm-auto">
-      <%= user_image @user, :class => "user_image_no_margins" %>
+      <%= user_image @user %>
     </div>
     <div class="col">
       <h1><%= @user.display_name %> <%= role_icons(@user) %></h1>
@@ -28,7 +28,7 @@
               <%= link_to t(".my comments"), diary_comments_path(current_user) %>
             </li>
             <li>
-              <%= link_to t(".my settings"), user_account_path(current_user) %>
+              <%= link_to t(".my settings"), edit_account_path %>
             </li>
 
             <% if current_user.blocks.exists? %>