add error alert for validation errors on user edit page
This commit is contained in:
parent
d60b798af0
commit
f04f52c3d9
@ -4,6 +4,13 @@
|
|||||||
{% block content %}
|
{% block content %}
|
||||||
<div class='col'>
|
<div class='col'>
|
||||||
|
|
||||||
|
{% if form.errors %}
|
||||||
|
{{ Alert('There were some errors',
|
||||||
|
message="<p>Please see below.</p>",
|
||||||
|
level='error'
|
||||||
|
) }}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if updated %}
|
{% if updated %}
|
||||||
{{ Alert('User information updated.', level='success') }}
|
{{ Alert('User information updated.', level='success') }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user