summaryrefslogtreecommitdiff
path: root/app/views/admin/identities/_form.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/identities/_form.html.haml')
-rw-r--r--app/views/admin/identities/_form.html.haml6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/admin/identities/_form.html.haml b/app/views/admin/identities/_form.html.haml
index 3a788558226..112a201fafa 100644
--- a/app/views/admin/identities/_form.html.haml
+++ b/app/views/admin/identities/_form.html.haml
@@ -1,9 +1,5 @@
= form_for [:admin, @user, @identity], html: { class: 'form-horizontal fieldset-form' } do |f|
- - if @identity.errors.any?
- #error_explanation
- .alert.alert-danger
- - @identity.errors.full_messages.each do |msg|
- %p= msg
+ = form_errors(@identity)
.form-group
= f.label :provider, class: 'control-label'