summaryrefslogtreecommitdiff
path: root/app/views/profiles
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-08-28 21:33:35 +0100
committerNick Thomas <nick@gitlab.com>2017-08-30 20:50:44 +0100
commitb84ca08e351fc9238bef4e6b4bf74158d25d4f1d (patch)
treee7ec9704ec449b547b6193c5e0ba771a5aae62c2 /app/views/profiles
parent6847060266792471c9c14518a5106e0f622cd6c5 (diff)
downloadgitlab-ce-b84ca08e351fc9238bef4e6b4bf74158d25d4f1d.tar.gz
Address review comments
Diffstat (limited to 'app/views/profiles')
-rw-r--r--app/views/profiles/keys/_key_details.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/profiles/keys/_key_details.html.haml b/app/views/profiles/keys/_key_details.html.haml
index cf70320e7a8..77521417f47 100644
--- a/app/views/profiles/keys/_key_details.html.haml
+++ b/app/views/profiles/keys/_key_details.html.haml
@@ -16,7 +16,7 @@
%strong= @key.last_used_at.try(:to_s, :medium) || 'N/A'
.col-md-8
- = form_errors(@key, 'The key has the following') unless @key.valid?
+ = form_errors(@key, type: 'key') unless @key.valid?
%p
%span.light Fingerprint:
%code.key-fingerprint= @key.fingerprint