summaryrefslogtreecommitdiff
path: root/app/templates/base
diff options
context:
space:
mode:
authorstilbruch <stilbruch@protonail.com>2022-04-04 17:44:12 -0500
committerstilbruch <stilbruch@protonail.com>2022-04-04 17:44:12 -0500
commita981d059304e2cab36cf694b09334245ce855d12 (patch)
tree325538d6785da614cef68110defb3eaa60f48e11 /app/templates/base
parent5d74e9e1bb30e65dbd4d0528f7140b7813965841 (diff)
downloadStrengthy-a981d059304e2cab36cf694b09334245ce855d12.tar.xz
Strengthy-a981d059304e2cab36cf694b09334245ce855d12.zip
Improve "login_required"
Diffstat (limited to 'app/templates/base')
-rw-r--r--app/templates/base/form.html10
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 %}