mise en forme de la page playlist contenant les musiques
This commit is contained in:
parent
e7aea25b91
commit
2a094b08aa
@ -9,11 +9,10 @@
|
|||||||
|
|
||||||
<!-- Section pour afficher les chansons de son playlist -->
|
<!-- Section pour afficher les chansons de son playlist -->
|
||||||
<?php if (!empty($songs)): ?>
|
<?php if (!empty($songs)): ?>
|
||||||
<section class="current-songs">
|
<h5>Chansons actuelles :</h5>
|
||||||
<h5>Chansons actuelles :</h5>
|
<section class="list">
|
||||||
<ul>
|
|
||||||
<?php foreach($songs as $song): ?>
|
<?php foreach($songs as $song): ?>
|
||||||
<li class="play">
|
<div><article>
|
||||||
<?= $song->name; ?>
|
<?= $song->name; ?>
|
||||||
<!-- Formulaire pour supprimer la chanson de la playlist -->
|
<!-- Formulaire pour supprimer la chanson de la playlist -->
|
||||||
<form action="<?= site_url('playlist/remove_song'); ?>" method="post" style="display:inline;">
|
<form action="<?= site_url('playlist/remove_song'); ?>" method="post" style="display:inline;">
|
||||||
@ -21,9 +20,8 @@
|
|||||||
<input type="hidden" name="songId" value="<?= $song->id; ?>">
|
<input type="hidden" name="songId" value="<?= $song->id; ?>">
|
||||||
<button type="submit">Supprimer</button>
|
<button type="submit">Supprimer</button>
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</article></div>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</ul>
|
|
||||||
</section>
|
</section>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user