Switch from using workout modal and change to workout page, still need to cleanup modal logic and templates. Need to fix workout tag functionality
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
<li class="py-2 px-4 hover:bg-gray-100 cursor-pointer flex items-center justify-between">
|
||||
<li class="py-2 px-4 hover:bg-gray-100 cursor-pointer flex items-center justify-between"
|
||||
_="on click set the innerHTML of #exercise-results to ''
|
||||
then set the value of #exercise-search to '{{ exercise.name }}'
|
||||
then set the value of #selected-exercise to '{{ exercise.exercise_id }}'
|
||||
on click call htmx.ajax('GET', '{{ url_for('get_exercise_progress_for_user', person_id=person_id, exercise_id=exercise.exercise_id) }}', {target:'#exercise-progress', swap:'innerHTML'})">
|
||||
<!-- Exercise Name -->
|
||||
<span>{{ exercise.name }}</span>
|
||||
<!-- Edit Icon -->
|
||||
|
||||
Reference in New Issue
Block a user