summaryrefslogtreecommitdiff
path: root/app/templates/home.html
diff options
context:
space:
mode:
authorstilbruch <stilbruch@protonmail.com>2022-04-06 13:50:32 -0500
committerstilbruch <stilbruch@protonmail.com>2022-04-06 13:50:32 -0500
commit45bf2ad8707b67b2f756c80edb877a6bfe3897fb (patch)
tree4ebbb8eea62af889c940e561b75c4175e6d75965 /app/templates/home.html
parentd0c2bb02d91382d99d72ce5e80b321a53a80e576 (diff)
downloadStrengthy-45bf2ad8707b67b2f756c80edb877a6bfe3897fb.tar.xz
Strengthy-45bf2ad8707b67b2f756c80edb877a6bfe3897fb.zip
Workout table and user relationship works
Diffstat (limited to 'app/templates/home.html')
-rw-r--r--app/templates/home.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/templates/home.html b/app/templates/home.html
index 99da96c..fb47a68 100644
--- a/app/templates/home.html
+++ b/app/templates/home.html
@@ -31,7 +31,7 @@
</div>
<div class="tile is-parent">
<article class="tile is-child box">
- <p class="title has-text-black">%workouts%</p>
+ <p class="title has-text-black">{{ current_user.workouts.count() }}</p>
<p class="subtitle has-text-black">Workouts</p>
</article>
</div>