Display exercise history when name is clicked on workout overview(modal) using person list filters (Should look into changing workout overview modal to a seperate page so you can access it via a url)
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
<tr>
|
||||
<td class="p-0 sm:p-4 text-sm font-semibold text-gray-900 break-normal">
|
||||
{% if is_edit|default(false, true) == false %}
|
||||
{{ exercise_name }}
|
||||
<span class="cursor-pointer" hx-get="{{ url_for('goto_tag') }}"
|
||||
hx-vals='{"filter": "?exercise_id={{ exercise_id }}", "person_id" : "{{ person_id }}" }'
|
||||
hx-target="#container" hx-push-url="true" _='on click trigger closeModal'>{{ exercise_name }}</span>
|
||||
{% else %}
|
||||
<div class="w-full">
|
||||
<select id="topset-exercise-select-{{ topset_id }}" data-te-select-init data-te-select-filter="true"
|
||||
|
||||
Reference in New Issue
Block a user