<h6>Ajouter un album à 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>
                    <input type="radio" name="playlist_id" value="<?=$playlist->playlistId ?>">
                    <?= $playlist->name ?>
                </label>
            </div>
        <?php endforeach; ?>
        <div class="submit-button">
            <button type="submit" class="btn btn-primary">Ajouter à la playlist</button>
        </div>
    </form>
</section>

