gitlab-org--gitlab-foss/app/views/profiles/keys/_key.html.haml
Dmitriy Zaporozhets 30ca451fd4 Refactor buttons
2015-03-14 00:29:32 -07:00

12 lines
360 B
Text

%tr
%td
= link_to path_to_key(key, is_admin) do
%strong= key.title
%td
%span
(#{key.fingerprint})
%td
%span.cgray
added #{time_ago_with_tooltip(key.created_at)}
%td
= link_to 'Remove', path_to_key(key, is_admin), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-sm btn-remove delete-key pull-right"