diff options
author | Azul <azul@leap.se> | 2012-12-03 10:24:49 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-12-03 10:31:32 +0100 |
commit | 1de597b338f0622a7732676907365de673c34dfb (patch) | |
tree | 5eed63767fff4d7d9760029a748bcf1529815781 /users/app | |
parent | 0b23df922336289b6f8062653b4d3e852ed927ec (diff) |
enable admin to edit users
Diffstat (limited to 'users/app')
-rw-r--r-- | users/app/views/users/_user.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/users/app/views/users/_user.html.haml b/users/app/views/users/_user.html.haml index 5eb7941..7db0041 100644 --- a/users/app/views/users/_user.html.haml +++ b/users/app/views/users/_user.html.haml @@ -2,6 +2,9 @@ %td= user.login %td= time_ago_in_words(user.created_at) + " ago" %td + = link_to edit_user_path(user), :class => "btn btn-mini btn-primary" do + %i.icon-edit.icon-white + Edit = link_to user_path(user), :method => :delete, :class => "btn btn-danger btn-mini" do %i.icon-remove.icon-white Remove |