diff options
| author | stilbruch <stilbruch@protonmail.com> | 2022-04-23 17:08:53 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonmail.com> | 2022-04-23 17:08:53 -0500 |
| commit | ceb76e7b1d75623b09a9c85a3e48752404a9077d (patch) | |
| tree | ab2d93e62daad8d2b5a411e2cecc7fe3b73af448 /app/templates/base | |
| parent | a4ca3d81f5bf0d00f1326ee80878da4169f54ea6 (diff) | |
| download | Strengthy-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.html | 20 |
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"> |
