Add collapsible section for music list in group detail template
This commit is contained in:
parent
e64bb8b95a
commit
f211b9af50
1 changed files with 36 additions and 31 deletions
|
@ -57,6 +57,10 @@
|
||||||
<h2>
|
<h2>
|
||||||
<i class="ri-music-2-fill"></i> Mes musiques ({{ musics.count }})
|
<i class="ri-music-2-fill"></i> Mes musiques ({{ musics.count }})
|
||||||
</h2>
|
</h2>
|
||||||
|
<details>
|
||||||
|
<summary role="button">
|
||||||
|
<i class="ri-music-2-fill"></i> Liste des musiques
|
||||||
|
</summary>
|
||||||
<table class="striped">
|
<table class="striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -91,6 +95,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</details>
|
||||||
<form method="post" action="{% url "group_add_music" pk=group.pk %}">
|
<form method="post" action="{% url "group_add_music" pk=group.pk %}">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
<fieldset role="group">
|
<fieldset role="group">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue