diff options
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r-- | hyperkitty/templates/base.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html index 00385a4..ceab0bf 100644 --- a/hyperkitty/templates/base.html +++ b/hyperkitty/templates/base.html @@ -59,9 +59,16 @@ </header> {% if flash_messages %} - <div class="flashmsg"> + <div class="flashmsgs"> {% for flash_msg in flash_messages %} - <div class="alert alert-{{ flash_msg.type }}">{{ flash_msg.msg }}</div> + <div class="flashmsg-wrapper"> + <div class="alert alert-{{ flash_msg.type }}"> + {% if flash_msg.type != "success" %} + <button type="button" class="close" data-dismiss="alert">×</button> + {% endif %} + {{ flash_msg.msg }} + </div> + </div> {% endfor %} </div> {% endif %} |