Добавил плеер в шаблон album_detail.html
This commit is contained in:
@@ -7,5 +7,8 @@
|
|||||||
<p>Artist: {{ album.artist }}</p>
|
<p>Artist: {{ album.artist }}</p>
|
||||||
<p>Release Date: {{ album.release_date }}</p>
|
<p>Release Date: {{ album.release_date }}</p>
|
||||||
<h2>Tracks</h2>
|
<h2>Tracks</h2>
|
||||||
|
<div class="container">
|
||||||
{% include 'components/track_list.html' with tracks=album.tracks.all %}
|
{% include 'components/track_list.html' with tracks=album.tracks.all %}
|
||||||
|
{% include 'components/player.html' %}
|
||||||
|
</div
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in New Issue
Block a user