summaryrefslogtreecommitdiff
path: root/app/templates/home.html
diff options
context:
space:
mode:
authorstilbruch <stilbruch@protonail.com>2022-05-02 17:43:02 -0500
committerstilbruch <stilbruch@protonail.com>2022-05-02 17:43:02 -0500
commit116a7a47023ce18f7a54729f7da77eff674f8c0c (patch)
tree51467d341c5b5ec1ca18df881d33b38e397d7fb3 /app/templates/home.html
parent3f4d0f78751b15de1e4c3c9988df4443f5a71a9c (diff)
downloadStrengthy-116a7a47023ce18f7a54729f7da77eff674f8c0c.tar.xz
Strengthy-116a7a47023ce18f7a54729f7da77eff674f8c0c.zip
Change workout/edit to parameterized route
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 397b54b..7ccacfd 100644
--- a/app/templates/home.html
+++ b/app/templates/home.html
@@ -62,7 +62,7 @@
<td>{{ workout.exercises.count() }} exercises</td>
<td class="level-right">
<p class="buttons">
- <a class="button is-small is-primary" href="/workout/edit?id={{ workout.id }}">Edit</a>
+ <a class="button is-small is-primary" href="/workout/edit/{{ workout.id }}">Edit</a>
<a class="button is-small is-danger js-modal-trigger" data-target="modal-{{ workout.id }}" href="#">Delete</a>
</p>
</td>