mirror of
https://grond.iut-fbleau.fr/stiti/SAE_2.02
synced 2024-11-13 22:31:40 +01:00
16 lines
718 B
PHP
16 lines
718 B
PHP
<div class="container">
|
|
<h1>Ajouter un Album à la Playlist</h1>
|
|
<?php echo form_open('playlists/add_album/'.$playlist_id); ?>
|
|
<div class="form-group">
|
|
<label for="album_id">Sélectionner un Album :</label>
|
|
<select name="album_id" class="form-control" required>
|
|
<?php foreach ($albums as $album): ?>
|
|
<option value="<?php echo $album->id; ?>"><?php echo $album->name; ?></option>
|
|
<?php endforeach; ?>
|
|
</select>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Ajouter</button>
|
|
<?php echo form_close(); ?>
|
|
</div>
|
|
</body>
|