]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/view.html.erb
Reposition the note and user report flags
[rails.git] / app / views / user / view.html.erb
index 15c60beeb3ace5c7eadae4d99adb9047a3f40319..be2e90b8a537f35d8ed0817e03752760df86a20f 100644 (file)
             </li>
           <% end %>
 
+          <% if current_user and @this_user.id != current_user.id %>
+            <li>
+              <%= link_to new_report_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name), :title => t('user.view.report') do %>
+                &nbsp;&#9872;
+              <% end %>
+            </li>
+          <% end %>
         </ul>
 
       <% end %>
       </p>
     </div>
 
-    <% if current_user and @this_user.id != current_user.id %>
-      <div class="report-button">
-         <%= link_to new_report_url(reportable_id: @this_user.id, reportable_type: @this_user.class.name), :title => t('user.view.report') do %>
-            &nbsp;&#9872;
-         <% end %>
-      </div>
-    <% end %>
-
     <div class="user-description richtext"><%= @this_user.description.to_html %></div>
 
   </div>