mirror of
https://grond.iut-fbleau.fr/stiti/SAE_2.02
synced 2024-12-29 01:52:18 +01:00
16 lines
763 B
PHP
16 lines
763 B
PHP
<div class="container">
|
|
<h1>Ajouter les musiques d'un Artiste à la Playlist</h1>
|
|
<?php echo form_open('playlists/add_artist/'.$playlist_id); ?>
|
|
<div class="form-group">
|
|
<label for="artist_id">Sélectionner un Artiste :</label>
|
|
<select name="artist_id" class="form-control" required>
|
|
<?php foreach ($artists as $artist): ?>
|
|
<option value="<?php echo $artist->id; ?>"><?php echo $artist->name; ?></option>
|
|
<?php endforeach; ?>
|
|
</select>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Ajouter les musiques de l'artiste</button>
|
|
<?php echo form_close(); ?>
|
|
</div>
|
|
|