Backend for songs.zachdecook.com
* Song view: Show more of the data
Zach DeCook 2018-12-27
parent 131af78 · commit cb430d5
-rw-r--r--laravel/resources/views/song.blade.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/laravel/resources/views/song.blade.php b/laravel/resources/views/song.blade.php
index 02f046b..a20df95 100644
--- a/laravel/resources/views/song.blade.php
+++ b/laravel/resources/views/song.blade.php
@@ -9,7 +9,13 @@
</a>
@endif
<h2>{{$song['title']}}</h2>
-
+ <h3>{{$song->author}}</h3>
+ @if($song->key)
+ Key: {{$song->key}}<br/>
+ @endif
+ @if($song->verse)
+ Verse(s): {{$song->verse}}<br/>
+ @endif
@can('update', $song )
<a href='{{ route( 'song.edit', $song ) }}'>edit this song</a>
@endcan