summaryrefslogtreecommitdiff
path: root/app/views/profiles/keys/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profiles/keys/show.html.haml')
-rw-r--r--app/views/profiles/keys/show.html.haml14
1 files changed, 14 insertions, 0 deletions
diff --git a/app/views/profiles/keys/show.html.haml b/app/views/profiles/keys/show.html.haml
new file mode 100644
index 00000000000..64c6621ea5f
--- /dev/null
+++ b/app/views/profiles/keys/show.html.haml
@@ -0,0 +1,14 @@
+%h3.page_title
+ Public key:
+ = @key.title
+ %small
+ created at
+ = @key.created_at.stamp("Aug 21, 2011")
+.back_link
+ = link_to profile_keys_path do
+ ← To keys list
+%hr
+
+%pre= @key.key
+.pull-right
+ = link_to 'Remove', profile_key_path(@key), confirm: 'Are you sure?', method: :delete, class: "btn btn-remove delete-key"