vaujdui
This commit is contained in:
		@@ -22,12 +22,20 @@
 | 
			
		||||
                    <thead>
 | 
			
		||||
                        <tr>
 | 
			
		||||
                            <th>Titre</th>
 | 
			
		||||
                            <th>Action</th>
 | 
			
		||||
                        </tr>
 | 
			
		||||
                    </thead>
 | 
			
		||||
                    <tbody>
 | 
			
		||||
                        <?php foreach ($songs as $song): ?>
 | 
			
		||||
                            <tr>
 | 
			
		||||
                                <td><?= anchor("music/view/{$song->trackId}", $song->trackName) ?></td>
 | 
			
		||||
                                <td>
 | 
			
		||||
                                    <form method="post" action="<?= site_url('playlist/selectPlaylist') ?>">
 | 
			
		||||
                                        <input type="hidden" name="itemId" value="<?= $song->trackId ?>">
 | 
			
		||||
                                        <input type="hidden" name="itemType" value="song">
 | 
			
		||||
                                        <button type="submit" class="button is-link">Ajouter à la playlist</button>
 | 
			
		||||
                                    </form>
 | 
			
		||||
                                </td>
 | 
			
		||||
                            </tr>
 | 
			
		||||
                        <?php endforeach; ?>
 | 
			
		||||
                    </tbody>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user