From ceb76e7b1d75623b09a9c85a3e48752404a9077d Mon Sep 17 00:00:00 2001 From: stilbruch Date: Sat, 23 Apr 2022 17:08:53 -0500 Subject: Work on exercise type support for create workout --- app/templates/base/form.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'app/templates/base') 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 @@ {% with messages = get_flashed_messages(with_categories=true) %} - {% if messages %} - {% for category, message in messages %} - {% if category == "message" %} -
- {% else %} -
+ {% if messages %} + {% for category, message in messages %} + {% if category == "message" %} +
+ {% else %} +
+ {% endif %} + {{ message }} +
+ {% endfor %} {% endif %} - {{ message }} -
- {% endfor %} - {% endif %} {% endwith %}
-- cgit v1.2.3