début création playlist
This commit is contained in:
10
ci/application/views/create_playlist.php
Normal file
10
ci/application/views/create_playlist.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<h5>Créer une nouvelle Playlist</h5>
|
||||
<?php
|
||||
|
||||
?>
|
||||
|
||||
<form action="<?= base_url('index.php/playlist/createPlaylistController') ?>" method="post">
|
||||
<label for="name_playlist">Nom de la Playlist:</label>
|
||||
<input type="text" name="name_playlist" id="name_playlist" required>
|
||||
<button type="submit" name="submit">Créer</button>
|
||||
</form>
|
||||
@@ -1,5 +1,10 @@
|
||||
<h5>Playlist List</h5>
|
||||
<?php
|
||||
|
||||
echo "<form action='" . base_url("index.php/playlist/MenuCreate/") . "' method='post'>";
|
||||
echo "<button type='Créer Playlist'>Create</button>";
|
||||
echo "</form>";
|
||||
|
||||
foreach($playlists as $playlist){
|
||||
echo "<div><article>";
|
||||
echo "<header class='short-text'>";
|
||||
|
||||
Reference in New Issue
Block a user