about summary refs log tree commit diff
path: root/laravel/resources/views/song.blade.php
diff options
context:
space:
mode:
Diffstat (limited to 'laravel/resources/views/song.blade.php')
-rw-r--r--laravel/resources/views/song.blade.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/laravel/resources/views/song.blade.php b/laravel/resources/views/song.blade.php
index 4812bc3..6b4b661 100644
--- a/laravel/resources/views/song.blade.php
+++ b/laravel/resources/views/song.blade.php
@@ -62,6 +62,12 @@
         <canvas id='ukuleleregion' width="100" height="100" onclick="cycle(ukeObj);"></canvas>
     </div>
 
+    @foreach ($suggestions as $sug)
+        <div class='controlArea'>
+            <a class='but' href='{{route('song.suggested', ['song' => $sug, 'from' => $song])}}'>{{$sug->name}}</a>
+        </div>
+    @endforeach
+
 <script src='/js/chordsdata/chords.js'></script>
 <script src='/js/chordsdata/ukulelechords.js'></script>
 <script src='/js/page.js'></script>