From 695215c993765d910a31789d0a70eef5ee3b57e9 Mon Sep 17 00:00:00 2001 From: FivePixels Date: Wed, 23 Mar 2022 18:56:09 -0500 Subject: Start working on workout create page Add variable to each page to determine with of "box" for form. Add new workout create route. --- app/templates/base/form.html | 54 +++++++++++++++++++++--------------------- app/templates/base/layout.html | 4 ++-- 2 files changed, 29 insertions(+), 29 deletions(-) (limited to 'app/templates/base') diff --git a/app/templates/base/form.html b/app/templates/base/form.html index 830afbe..440ea0e 100644 --- a/app/templates/base/form.html +++ b/app/templates/base/form.html @@ -1,33 +1,33 @@ {% extends 'base/layout.html' %} {% block content %} -
-
-
-
-
-
-

{% block title %}{% endblock %}

+
+
+
+
+
+
+

{% block title %}{% endblock %}

- - {% with messages = get_flashed_messages(with_categories=true) %} - {% if messages %} - {% for category, message in messages %} -
- {{ message }} -
- {% endfor %} - {% endif %} - {% endwith %} + + {% with messages = get_flashed_messages(with_categories=true) %} + {% if messages %} + {% for category, message in messages %} +
+ {{ message }} +
+ {% endfor %} + {% endif %} + {% endwith %} -
- {{ form.csrf_token }} - {% block form %}{% endblock %} -
-
-
-
-
-
-
+
+ {{ form.csrf_token }} + {% block form %}{% endblock %} +
+
+
+
+
+
+
{% endblock %} diff --git a/app/templates/base/layout.html b/app/templates/base/layout.html index 0d5fe1a..4393146 100644 --- a/app/templates/base/layout.html +++ b/app/templates/base/layout.html @@ -24,11 +24,11 @@