summaryrefslogtreecommitdiffstats
path: root/app/views/account/show.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/account/show.rhtml')
-rw-r--r--app/views/account/show.rhtml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/account/show.rhtml b/app/views/account/show.rhtml
index 2d0731b42..1160a5d8c 100644
--- a/app/views/account/show.rhtml
+++ b/app/views/account/show.rhtml
@@ -1,3 +1,7 @@
+<div class="contextual">
+<%= link_to(l(:button_edit), {:controller => 'users', :action => 'edit', :id => @user}, :class => 'icon icon-edit') if User.current.admin? %>
+</div>
+
<h2><%=h @user.name %></h2>
<p>