diff options
| author | stilbruch <stilbruch@protonail.com> | 2022-04-04 17:44:12 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonail.com> | 2022-04-04 17:44:12 -0500 |
| commit | a981d059304e2cab36cf694b09334245ce855d12 (patch) | |
| tree | 325538d6785da614cef68110defb3eaa60f48e11 /app/templates/base | |
| parent | 5d74e9e1bb30e65dbd4d0528f7140b7813965841 (diff) | |
| download | Strengthy-a981d059304e2cab36cf694b09334245ce855d12.tar.xz Strengthy-a981d059304e2cab36cf694b09334245ce855d12.zip | |
Improve "login_required"
Diffstat (limited to 'app/templates/base')
| -rw-r--r-- | app/templates/base/form.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app/templates/base/form.html b/app/templates/base/form.html index 440ea0e..8423a0c 100644 --- a/app/templates/base/form.html +++ b/app/templates/base/form.html @@ -13,9 +13,13 @@ {% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %} - <div class="notification is-{{ category }}"> - {{ message }} - </div> + {% if category == "message" %} + <div class="notification is-info"> + {% else %} + <div class="notification is-{{ category }}"> + {% endif %} + {{ message }} + </div> {% endfor %} {% endif %} {% endwith %} |
