diff options
| author | stilbruch <stilbruch@protonail.com> | 2022-05-02 17:43:02 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonail.com> | 2022-05-02 17:43:02 -0500 |
| commit | 116a7a47023ce18f7a54729f7da77eff674f8c0c (patch) | |
| tree | 51467d341c5b5ec1ca18df881d33b38e397d7fb3 /app/templates/home.html | |
| parent | 3f4d0f78751b15de1e4c3c9988df4443f5a71a9c (diff) | |
| download | Strengthy-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.html | 2 |
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> |
