SAE_2.02/CodeIgniter-3.1.13/application/views/playlist_add_artist.php

25 lines
1.0 KiB
PHP
Raw Normal View History

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