Show uncollapse first workout accordion
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
</h2>
|
</h2>
|
||||||
<div class="!visible collapse {% if loop.counter != 1 %}hidden{% endif %}">
|
<div class="!visible collapse {% if loop.index != 1 %}hidden{% endif %}">
|
||||||
<img src="{{ url_for('workout', user_id=w.user_id, workout_id=w.id) }}" alt="No image">
|
<img src="{{ url_for('workout', user_id=w.user_id, workout_id=w.id) }}" alt="No image">
|
||||||
<button
|
<button
|
||||||
class="mx-4 mb-4 bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-2 px-4 rounded inline-flex items-center"
|
class="mx-4 mb-4 bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-2 px-4 rounded inline-flex items-center"
|
||||||
|
|||||||
Reference in New Issue
Block a user