diff options
| author | Zach DeCook <zachdecook@gmail.com> | 2019-01-17 14:29:52 -0500 |
|---|---|---|
| committer | Zach DeCook <zachdecook@gmail.com> | 2019-01-17 14:29:52 -0500 |
| commit | c7df9d769a2dfbc61aa06b8b094a20d829f44bb8 (patch) | |
| tree | 9c9d9f27cf4ce618b74b6b3ccad76e5ab68dc8fe /laravel/resources/views | |
| parent | b4958b4bf1fecbb2bace7dc9664b326841c8067e (diff) | |
| download | prosongsa-c7df9d769a2dfbc61aa06b8b094a20d829f44bb8.tar.gz | |
* Suggestions: Offer to transpose into the key of the current song
Diffstat (limited to 'laravel/resources/views')
| -rw-r--r-- | laravel/resources/views/song.blade.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/laravel/resources/views/song.blade.php b/laravel/resources/views/song.blade.php index 6b4b661..6dfe409 100644 --- a/laravel/resources/views/song.blade.php +++ b/laravel/resources/views/song.blade.php @@ -65,6 +65,11 @@ @foreach ($suggestions as $sug) <div class='controlArea'> <a class='but' href='{{route('song.suggested', ['song' => $sug, 'from' => $song])}}'>{{$sug->name}}</a> + @if ($song->plain_key) + <a class='but' href='{{route('song.suggested', ['song' => $sug, 'from' => $song, 'key' => $song->plain_key])}}'> + transposed to {{$song->plain_key}} + </a> + @endif </div> @endforeach |
