<h6>Supprimer une chanson à une playlist</h6>

<div class="trie">
    <h5>Playlists</h5>
</div>

<section class="list">
    
    <form method="post">
        <?php foreach ($playlists as $playlist){ ?>
            <div class="playlist-option">
                <label>
                    <?php if($this->model_music->SongInThisPlaylist($id,$playlist->playlistid)){ ?>
                    <input type="radio" name="playlist_id" value="<?= $playlist->playlistid ?>">
                    <?= $playlist->name ?>
                    <?php } ?>
                </label>
            </div>
        <?php } ?>
        <div class="submit-button">
            <button type="submit" class="btn btn-primary">Supprimer de la playlist</button>
        </div>
    </form>
</section>
