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:
@@ -131,8 +131,8 @@
|
||||
<tbody class="bg-white">
|
||||
|
||||
{% for w in person['Workouts'] %}
|
||||
<tr hx-get="{{ url_for('get_workout_modal', person_id=person['PersonId'], workout_id=w['WorkoutId']) }}"
|
||||
hx-target='body' hx-swap='beforeend' class="cursor-pointer">
|
||||
<tr hx-get="{{ url_for('show_workout', person_id=person['PersonId'], workout_id=w['WorkoutId']) }}"
|
||||
hx-push-url="true" hx-target="#container" class="cursor-pointer">
|
||||
<td class="p-4 whitespace-nowrap text-sm font-normal text-gray-500">
|
||||
{{ w['StartDate'] | strftime("%b %d %Y") }}
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user