diff options
| author | stilbruch <stilbruch@protonmail.com> | 2022-04-06 15:02:25 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonmail.com> | 2022-04-06 15:02:25 -0500 |
| commit | cafd3f6151a6c673163755400b40597b6d3476bc (patch) | |
| tree | ac0f613ca4500e7d489ef8a5b119cf1572cd66cb /app/templates/home.html | |
| parent | ed1823168fb6f3256bcd7397b4d4de462a3f1781 (diff) | |
| download | Strengthy-cafd3f6151a6c673163755400b40597b6d3476bc.tar.xz Strengthy-cafd3f6151a6c673163755400b40597b6d3476bc.zip | |
Workouts names can be edited
Diffstat (limited to 'app/templates/home.html')
| -rw-r--r-- | app/templates/home.html | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/app/templates/home.html b/app/templates/home.html index 693e03b..11179cd 100644 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -60,13 +60,21 @@ <tr> <td>{{ workout.name }}</td> <td>{{ workout.exercises.count() }} exercises</td> - <td class="level-right"><a class="button is-small is-primary" href="#">Edit</a></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-danger" href="#">Delete</a> + </p> + </td> </tr> {% endfor %} </tbody> </table> </div> </div> + <footer class="card-footer"> + <a href="/workout/create" class="card-footer-item">Create New</a> + </footer> </div> </div> <div class="column is-6"> |
