diff options
author | Frederick Muriuki Muriithi | 2023-05-18 14:11:31 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-05-18 14:11:31 +0300 |
commit | 44bc42bfd12ab916cead02b1a088fa29f47bd8df (patch) | |
tree | e59386aa8a2e0564f94bffc7c7480e7cce4885cf /wqflask | |
parent | 3b222ad14d6a53b94b72d973fea27c86eada07f9 (diff) | |
download | genenetwork2-44bc42bfd12ab916cead02b1a088fa29f47bd8df.tar.gz |
auth: Display flash messages.
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/collections/list.html | 4 | ||||
-rw-r--r-- | wqflask/wqflask/templates/collections/view.html | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/collections/list.html b/wqflask/wqflask/templates/collections/list.html index fc524c73..3719bee5 100644 --- a/wqflask/wqflask/templates/collections/list.html +++ b/wqflask/wqflask/templates/collections/list.html @@ -9,7 +9,9 @@ {% block content %} <!-- Start of body --> <div class="container"> - {% if g.user_session.logged_in %} + {{flash_me()}} + + {% if g.user_session.logged_in %} <h1>Collections owned by {% if g.user_session.user_name %}{{ g.user_session.user_name }}{% else %}{{ g.user_session.user_email }} {% endif %}</h1> {% else %} <h1>Your Collections</h1> diff --git a/wqflask/wqflask/templates/collections/view.html b/wqflask/wqflask/templates/collections/view.html index 1d9b7bcd..b06c9951 100644 --- a/wqflask/wqflask/templates/collections/view.html +++ b/wqflask/wqflask/templates/collections/view.html @@ -11,6 +11,7 @@ <!-- Start of body --> <div class="container"> + {{flash_me()}} <h1> <span id="collection_name">{{ uc.name }}</span> <input type="text" name="new_collection_name" style="font-size: 20px; display: none; width: 500px;" class="form-control" placeholder="{{ uc.name }}"> |