前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
%li = link_to profile_key_path(key) do %strong= key.title
%span (#{key.fingerprint})
%span.cgray
added #{time_ago_with_tooltip(key.created_at)} ago
= link_to 'Remove', profile_key_path(key), data: { confirm: 'Are you sure?'}, method: :delete, class: "btn btn-small btn-remove delete-key pull-right"