|
diff --git a/templates/partials/workout_modal.html b/templates/partials/workout_modal.html
index 5997114..146d659 100644
--- a/templates/partials/workout_modal.html
+++ b/templates/partials/workout_modal.html
@@ -113,9 +113,12 @@
-
-
diff --git a/templates/partials/workout_tags.html b/templates/partials/workout_tags.html
index 9184361..c45876f 100644
--- a/templates/partials/workout_tags.html
+++ b/templates/partials/workout_tags.html
@@ -35,11 +35,14 @@
-
+ class="block appearance-none w-full bg-gray-200 border border-gray-200 text-gray-700 py-3 px-4 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-gray-500"
+ _="init js(me)
+ te.Select.getOrCreateInstance(me).setValue({{ selected_workout_tag_ids | list_to_string | safe }})
+ end">
{% for p in person_tags %}
-
diff --git a/templates/person.html b/templates/person.html
index 7285348..34faece 100644
--- a/templates/person.html
+++ b/templates/person.html
@@ -16,17 +16,17 @@
-
+ hx-push-url="true"
+ _="init js(me)
+ te.Select.getOrCreateInstance(me).setValue('all')
+ end">
-
@@ -43,11 +43,14 @@
-
+ hx-target="#container" hx-push-url="true"
+ _="init js(me)
+ te.Select.getOrCreateInstance(me).setValue({{ selected_exercise_ids| list_to_string | safe }})
+ end">
{% for e in person['Exercises'] %}
-
-
|