about summary refs log tree commit diff
path: root/laravel/resources
diff options
context:
space:
mode:
Diffstat (limited to 'laravel/resources')
-rw-r--r--laravel/resources/views/playlist.blade.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/laravel/resources/views/playlist.blade.php b/laravel/resources/views/playlist.blade.php
index 1a04656..23f192b 100644
--- a/laravel/resources/views/playlist.blade.php
+++ b/laravel/resources/views/playlist.blade.php
@@ -10,6 +10,9 @@
     @endforeach
     </ul>
 
+	@guest
+	Please login to add new songs.
+	@else
     <form method="POST" action="/new/song">
         <h3>Add song to playlist</h3>
         @csrf
@@ -21,4 +24,5 @@
         <textarea name='text' placeholder='song lyrics/chords' style='width: 100%; height: 200px; font-family: monospace;' ></textarea>
         <button type='submit'>Add song!</button>
     </form>
+    @endguest
 @endsection