Commit 27bc190942b1634893cb0bc7bff017e6f5f28efd
1 parent
e1ab2c19
Exists in
master
and in
5 other branches
Message in profile template #7
Showing
1 changed file
with
11 additions
and
0 deletions
Show diff stats
users/templates/users/profile.html
... | ... | @@ -27,6 +27,17 @@ |
27 | 27 | {% endblock %} |
28 | 28 | |
29 | 29 | {% block content %} |
30 | + {% if messages %} | |
31 | + {% for message in messages %} | |
32 | + <div class="alert alert-success alert-dismissible" role="alert"> | |
33 | + <button type="button" class="close" data-dismiss="alert" aria-label="Close"> | |
34 | + <span aria-hidden="true">×</span> | |
35 | + </button> | |
36 | + <p>{{ message }}</p> | |
37 | + </div> | |
38 | + {% endfor %} | |
39 | + {% endif %} | |
40 | + | |
30 | 41 | <div class="row"> |
31 | 42 | <div class="col-lg-offset-4 col-lg-2"> |
32 | 43 | <img src="" class="img-responsive center-block " alt="logo amadeus"> | ... | ... |