about summary refs log tree commit diff
path: root/laravel/resources
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@librem.one>2022-04-20 17:32:56 +0000
committerZach DeCook <zachdecook@librem.one>2022-04-20 17:32:56 +0000
commitfe002d9aec3e0b511d79fbe2400d18713a0c94e0 (patch)
tree5f32fde6110cf545ea9cba3f4527a9d51235ee20 /laravel/resources
parent740d2b679028a9c52bb56050b3ebb30d27b03c97 (diff)
downloadprosongsa-fe002d9aec3e0b511d79fbe2400d18713a0c94e0.tar.gz
update to php 8
Also, the "add new song" feature is kind of broken
(and was being abused), so now it is more hidden...
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