From 3e09e6f7b8032859a82266282dfd35715b3b3727 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 24 Jun 2013 18:24:14 +0300 Subject: Move Profile related controllers under Profiles:: module --- app/views/profiles/keys/_key.html.haml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 app/views/profiles/keys/_key.html.haml (limited to 'app/views/profiles/keys/_key.html.haml') diff --git a/app/views/profiles/keys/_key.html.haml b/app/views/profiles/keys/_key.html.haml new file mode 100644 index 00000000000..a71ad6295cd --- /dev/null +++ b/app/views/profiles/keys/_key.html.haml @@ -0,0 +1,12 @@ +%tr + %td + = link_to profile_key_path(key) do + %strong= key.title + %td + %span.cgray + Added + = time_ago_in_words(key.created_at) + ago + %td + = link_to 'Remove', profile_key_path(key), confirm: 'Are you sure?', method: :delete, class: "btn btn-small btn-remove delete-key pull-right" + -- cgit v1.2.1