aboutsummaryrefslogtreecommitdiffstats
path: root/templates/user/edit.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/user/edit.html')
-rw-r--r--templates/user/edit.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/templates/user/edit.html b/templates/user/edit.html
index 95b0323..1797a5a 100644
--- a/templates/user/edit.html
+++ b/templates/user/edit.html
@@ -35,6 +35,17 @@
<input type="checkbox" name="notify" id="notify" {% if user.notify %}checked="checked"{% endif %} style="text-align:left"/>
</div>
</div>
+ {% with messages = get_flashed_messages() %}
+ {% if messages %}
+ {% for message in messages %}
+ <div class="alert alert-danger" role="alert">
+ <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true">
+ </span>
+ {{message}}
+ </div>
+ {% endfor %}
+ {% endif %}
+ {% endwith %}
</fieldset>
<fieldset>