From c7df9d769a2dfbc61aa06b8b094a20d829f44bb8 Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Thu, 17 Jan 2019 14:29:52 -0500 Subject: * Suggestions: Offer to transpose into the key of the current song --- laravel/resources/views/song.blade.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'laravel/resources/views') 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)
$sug, 'from' => $song])}}'>{{$sug->name}} + @if ($song->plain_key) + $sug, 'from' => $song, 'key' => $song->plain_key])}}'> + transposed to {{$song->plain_key}} + + @endif
@endforeach -- cgit 1.4.1