Fix issue with newly added workout tags not being rendered

This commit is contained in:
Peter Stockings
2025-04-20 17:05:32 +10:00
parent 7aa7f9b8dc
commit c88d28b47c
2 changed files with 5 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
<td class="p-0 sm:p-4 text-sm font-semibold text-gray-900 break-normal">
{% if is_edit|default(false, true) == false %}
<div class="flex items-center space-x-2">
<span class="cursor-pointer" hx-get="{{ url_for('goto_tag') }}"
<span class="cursor-pointer" hx-get="{{ url_for('tags.goto_tag') }}"
hx-vals='{"filter": "?exercise_id={{ exercise_id }}", "person_id" : "{{ person_id }}" }'
hx-target="#container" hx-swap="innerHTML" hx-push-url="true"
_='on click trigger closeModalWithoutRefresh'>{{ exercise_name }}</span>