diff options
| author | Zach DeCook <zachdecook@gmail.com> | 2018-12-27 08:51:12 -0500 |
|---|---|---|
| committer | Zach DeCook <zachdecook@gmail.com> | 2018-12-27 08:51:12 -0500 |
| commit | 7057844718f20f47109549a0f26745d88d66e195 (patch) | |
| tree | 408cd2ce68e743461489013afb4d83eaed5b74cd /laravel/resources | |
| parent | 67c377fe1d87bfb127bcbfa952e9119bd341d4e8 (diff) | |
| download | prosongsa-7057844718f20f47109549a0f26745d88d66e195.tar.gz | |
* Views: Create playlist view
Diffstat (limited to 'laravel/resources')
| -rw-r--r-- | laravel/resources/views/playlist.blade.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/laravel/resources/views/playlist.blade.php b/laravel/resources/views/playlist.blade.php new file mode 100644 index 0000000..3026963 --- /dev/null +++ b/laravel/resources/views/playlist.blade.php @@ -0,0 +1,13 @@ +@extends('layouts.app') +@section('title', $playlist->name) + +@section('content') + + <h2>Playlist "<i>{{$playlist->name}}</i>"</h2> + <ul> + @foreach($playlist->songs as $song) + <li><a href='/song/{{$song->number}}?playlist={{$playlist->id}}'>{{$song->title}}</a> + @endforeach + </ul> + +@endsection |
