##// END OF EJS Templates
Adds 'Edit' link on account/show for admin users....
Jean-Philippe Lang -
r1732:988f8d65fa3d
parent child
Show More
@@ -1,3 +1,7
1 <div class="contextual">
2 <%= link_to(l(:button_edit), {:controller => 'users', :action => 'edit', :id => @user}, :class => 'icon icon-edit') if User.current.admin? %>
3 </div>
4
1 <h2><%=h @user.name %></h2>
5 <h2><%=h @user.name %></h2>
2
6
3 <p>
7 <p>
General Comments 0
You need to be logged in to leave comments. Login now