summaryrefslogtreecommitdiff
path: root/app/views/admin/users/_form.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/users/_form.html.haml')
-rw-r--r--app/views/admin/users/_form.html.haml6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/views/admin/users/_form.html.haml b/app/views/admin/users/_form.html.haml
index d2527ede995..b05fdbd5552 100644
--- a/app/views/admin/users/_form.html.haml
+++ b/app/views/admin/users/_form.html.haml
@@ -1,10 +1,6 @@
.user_new
= form_for [:admin, @user], html: { class: 'form-horizontal fieldset-form' } do |f|
- -if @user.errors.any?
- #error_explanation
- .alert.alert-danger
- - @user.errors.full_messages.each do |msg|
- %p= msg
+ = form_errors(@user)
%fieldset
%legend Account