Make dashboard->person link htmx driven
This commit is contained in:
@@ -19,8 +19,10 @@
|
|||||||
<span class="text-base font-normal text-gray-500">Current rep maxes</span>
|
<span class="text-base font-normal text-gray-500">Current rep maxes</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex-shrink-0">
|
<div class="flex-shrink-0">
|
||||||
<a href="{{ url_for('get_person' ,person_id=p['PersonId']) }}"
|
<a hx-get="{{ url_for('get_person' ,person_id=p['PersonId']) }}" hx-push-url="true"
|
||||||
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg p-2">View workouts</a>
|
hx-target="#container"
|
||||||
|
class="text-sm font-medium text-cyan-600 hover:bg-gray-100 rounded-lg p-2 cursor-pointer">View
|
||||||
|
workouts</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user