summaryrefslogtreecommitdiff
path: root/users/app
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-26 19:25:59 +0100
committerAzul <azul@leap.se>2012-11-26 19:25:59 +0100
commit1d7ea661ca0cc03ffb10026e306d4e451e085cfa (patch)
tree5dcc6c47f7510d43c303c17f11e3d5c9cc350f8c /users/app
parentfa58393f4b665434830535b3e0c1a325c31ce03b (diff)
forgot the user partial
Diffstat (limited to 'users/app')
-rw-r--r--users/app/views/users/_user.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/users/app/views/users/_user.html.haml b/users/app/views/users/_user.html.haml
new file mode 100644
index 0000000..5eb7941
--- /dev/null
+++ b/users/app/views/users/_user.html.haml
@@ -0,0 +1,7 @@
+%tr
+ %td= user.login
+ %td= time_ago_in_words(user.created_at) + " ago"
+ %td
+ = link_to user_path(user), :method => :delete, :class => "btn btn-danger btn-mini" do
+ %i.icon-remove.icon-white
+ Remove