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:
@@ -1,11 +1,11 @@
|
||||
{% if exercises %}
|
||||
<ul class="list-none m-0 p-0 max-h-[300px] overflow-y-auto">
|
||||
<ul class="list-none m-0 p-0 max-h-[300px] overflow-y-auto border border-gray-200">
|
||||
{% for exercise in exercises %}
|
||||
{{ render_partial('partials/exercise/exercise_list_item.html', exercise=exercise) }}
|
||||
{{ render_partial('partials/exercise/exercise_list_item.html', exercise=exercise, person_id=person_id) }}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<div class="py-2 px-4 text-gray-500 flex items-center justify-between">
|
||||
<div class="py-2 px-4 text-gray-500 flex items-center justify-between border border-gray-200">
|
||||
<span>No results found</span>
|
||||
<!-- Add Exercise Button -->
|
||||
<button hx-post="{{ url_for('add_exercise') }}" hx-target="closest div" hx-swap="outerHTML"
|
||||
|
||||
Reference in New Issue
Block a user