summaryrefslogtreecommitdiff
path: root/app/views/admin/deploy_keys/new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/deploy_keys/new.html.haml')
-rw-r--r--app/views/admin/deploy_keys/new.html.haml6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/admin/deploy_keys/new.html.haml b/app/views/admin/deploy_keys/new.html.haml
index 5b46b3222a9..15aa059c93d 100644
--- a/app/views/admin/deploy_keys/new.html.haml
+++ b/app/views/admin/deploy_keys/new.html.haml
@@ -4,11 +4,7 @@
%div
= form_for [:admin, @deploy_key], html: { class: 'deploy-key-form form-horizontal' } do |f|
- -if @deploy_key.errors.any?
- .alert.alert-danger
- %ul
- - @deploy_key.errors.full_messages.each do |msg|
- %li= msg
+ = form_errors(@deploy_key)
.form-group
= f.label :title, class: "control-label"