add error alert for validation errors on user edit page

This commit is contained in:
dandds 2018-10-16 16:34:45 -04:00
parent d60b798af0
commit f04f52c3d9

View File

@ -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 %}