summaryrefslogtreecommitdiff
path: root/app/templates/base
diff options
context:
space:
mode:
authorstilbruch <stilbruch@protonmail.com>2022-04-23 17:08:53 -0500
committerstilbruch <stilbruch@protonmail.com>2022-04-23 17:08:53 -0500
commitceb76e7b1d75623b09a9c85a3e48752404a9077d (patch)
treeab2d93e62daad8d2b5a411e2cecc7fe3b73af448 /app/templates/base
parenta4ca3d81f5bf0d00f1326ee80878da4169f54ea6 (diff)
downloadStrengthy-ceb76e7b1d75623b09a9c85a3e48752404a9077d.tar.xz
Strengthy-ceb76e7b1d75623b09a9c85a3e48752404a9077d.zip
Work on exercise type support for create workout
Diffstat (limited to 'app/templates/base')
-rw-r--r--app/templates/base/form.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/templates/base/form.html b/app/templates/base/form.html
index 9f356e0..98200c9 100644
--- a/app/templates/base/form.html
+++ b/app/templates/base/form.html
@@ -8,17 +8,17 @@
<!-- TODO: render errors -->
{% with messages = get_flashed_messages(with_categories=true) %}
- {% if messages %}
- {% for category, message in messages %}
- {% if category == "message" %}
- <div class="notification is-info">
- {% else %}
- <div class="notification is-{{ category }}">
+ {% if messages %}
+ {% for category, message in messages %}
+ {% if category == "message" %}
+ <div class="notification is-info">
+ {% else %}
+ <div class="notification is-{{ category }}">
+ {% endif %}
+ {{ message }}
+ </div>
+ {% endfor %}
{% endif %}
- {{ message }}
- </div>
- {% endfor %}
- {% endif %}
{% endwith %}
<form method="POST" class="box">