Commit 4316032861124d673ae6534f4b144b89d0c28e04
1 parent
f353d024
Exists in
master
and in
5 other branches
Message in template #55
Showing
1 changed file
with
10 additions
and
0 deletions
Show diff stats
users/templates/list_users.html
| ... | ... | @@ -24,6 +24,16 @@ |
| 24 | 24 | {% endblock %} |
| 25 | 25 | |
| 26 | 26 | {% block content %} |
| 27 | + {% if messages %} | |
| 28 | + {% for message in messages %} | |
| 29 | + <div class="alert alert-success alert-dismissible" role="alert"> | |
| 30 | + <button type="button" class="close" data-dismiss="alert" aria-label="Close"> | |
| 31 | + <span aria-hidden="true">×</span> | |
| 32 | + </button> | |
| 33 | + <p>{{ message }}</p> | |
| 34 | + </div> | |
| 35 | + {% endfor %} | |
| 36 | + {% endif %} | |
| 27 | 37 | <form action="" method="GET" class="form-horizontal"> |
| 28 | 38 | <div class="form-group"> |
| 29 | 39 | <div class="col-md-9 col-sm-9 col-xs-9"> | ... | ... |