From f04f52c3d9b1d2e287c2fc716b659c49b586f5a2 Mon Sep 17 00:00:00 2001 From: dandds Date: Tue, 16 Oct 2018 16:34:45 -0400 Subject: [PATCH] add error alert for validation errors on user edit page --- templates/user/edit.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/user/edit.html b/templates/user/edit.html index 77afdd62..8d87f1fc 100644 --- a/templates/user/edit.html +++ b/templates/user/edit.html @@ -4,6 +4,13 @@ {% block content %}
+ {% if form.errors %} + {{ Alert('There were some errors', + message="

Please see below.

", + level='error' + ) }} + {% endif %} + {% if updated %} {{ Alert('User information updated.', level='success') }} {% endif %}