2024-05-25 15:44:57 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="fr">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<title>Ajouter un Album à la Playlist</title>
|
2024-05-25 19:13:36 +02:00
|
|
|
<link rel="stylesheet" href="<?php echo base_url('assets/css/playlist_add_song'); ?>">
|
2024-05-25 15:44:57 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<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>
|
|
|
|
</html>
|