Add ability to edit exercise name from new dropdown, still WIP as I need to handle exercise selection and make it a component
This commit is contained in:
9
templates/partials/exercise/exercise_dropdown.html
Normal file
9
templates/partials/exercise/exercise_dropdown.html
Normal file
@@ -0,0 +1,9 @@
|
||||
{% if exercises %}
|
||||
<ul class="list-none m-0 p-0 max-h-[300px] overflow-y-auto">
|
||||
{% for exercise in exercises %}
|
||||
{{ render_partial('partials/exercise/exercise_list_item.html', exercise=exercise) }}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<div class="py-2 px-4 text-gray-500">No results found</div>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user