summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorstilbruch <stilbruch@protonail.com>2022-04-06 17:34:13 -0500
committerstilbruch <stilbruch@protonail.com>2022-04-06 17:34:13 -0500
commit4d7c4bb40e08c80e336f766375735dbae3c2a20b (patch)
treebdeab61eee182e1efec0d78374aef5f5ccfd3df5 /app
parent73b96155fcd54b958fe8c676db028fd4fc4fabe4 (diff)
downloadStrengthy-4d7c4bb40e08c80e336f766375735dbae3c2a20b.tar.xz
Strengthy-4d7c4bb40e08c80e336f766375735dbae3c2a20b.zip
Correct names for create and edit workout pages
Diffstat (limited to 'app')
-rw-r--r--app/templates/base/form.html2
-rw-r--r--app/templates/home.html4
-rw-r--r--app/templates/workout/create.html2
3 files changed, 3 insertions, 5 deletions
diff --git a/app/templates/base/form.html b/app/templates/base/form.html
index 9f356e0..72083ae 100644
--- a/app/templates/base/form.html
+++ b/app/templates/base/form.html
@@ -4,7 +4,7 @@
<div class="container">
<div class="columns is-centered">
<div class="column {{ column_classes }}">
- <h1 class="title is-2">{% block title %}{% endblock %}</h1>
+ <h1 class="title is-2">{{ title }}</h1>
<!-- TODO: render errors -->
{% with messages = get_flashed_messages(with_categories=true) %}
diff --git a/app/templates/home.html b/app/templates/home.html
index a8cf949..afbed29 100644
--- a/app/templates/home.html
+++ b/app/templates/home.html
@@ -19,13 +19,13 @@
<div class="tile is-ancestor has-text-centered">
<div class="tile is-parent">
<article class="tile is-child box">
- <p class="title has-text-black">%sets%</p>
+ <p class="title has-text-black">0</p>
<p class="subtitle has-text-black">Sets Completed</p>
</article>
</div>
<div class="tile is-parent">
<article class="tile is-child box">
- <p class="title has-text-black">%workouts_completed%</p>
+ <p class="title has-text-black">0</p>
<p class="subtitle has-text-black">Workouts Completed</p>
</article>
</div>
diff --git a/app/templates/workout/create.html b/app/templates/workout/create.html
index cdd1191..72a056f 100644
--- a/app/templates/workout/create.html
+++ b/app/templates/workout/create.html
@@ -1,7 +1,5 @@
{% extends 'base/form.html' %}
-{% block title %}Create A Workout{% endblock %}
-
{% block form %}
<div class="field is-horizontal">
<div class="field-body">