Skip to content

Commit

Permalink
Display the general form errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Beaujean committed Sep 7, 2015
1 parent 57a2b77 commit 6e5adff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Resources/views/default/form.html.twig
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% trans_default_domain "EasyAdminBundle" %}

{{ form_start(form, { attr: form.vars.attr|merge({ novalidate: 'novalidate' }) }) }}
<div class="alert alert-danger">
{{ form_errors(form) }}
</div>
<div class="row">
<input type="hidden" name="referer" value="{{ app.request.query.get('referer', '') }}" />

Expand Down

0 comments on commit 6e5adff

Please sign in to comment.