Include error messages in form. Resolve #2368
This commit is contained in:
parent
b94dcbee70
commit
3474ffa008
1 changed files with 3 additions and 1 deletions
|
|
@ -15,6 +15,8 @@ Form
|
|||
<h1 class="card-title">Form</h1>
|
||||
<hr />
|
||||
|
||||
{% include 'website/messages.html' %}
|
||||
|
||||
{% if form.errors %}
|
||||
{% for field in form %}
|
||||
{% for error in field.errors %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue