about summary refs log tree commit diff
path: root/laravel/resources/views/editsong.blade.php
diff options
context:
space:
mode:
authorZach DeCook <zachdecook@gmail.com>2018-12-28 15:05:38 -0500
committerZach DeCook <zachdecook@gmail.com>2018-12-28 15:05:38 -0500
commit36bf66c709832bbc57122bd2dfb456ed6e04575b (patch)
treed47a024654f09ad3d1ee7ffcac7f7c54510a9745 /laravel/resources/views/editsong.blade.php
parent47208936ee3c18745bbd9a753a9cc566648a5e17 (diff)
downloadprosongsa-36bf66c709832bbc57122bd2dfb456ed6e04575b.tar.gz
* Editing songs: Return to same playlist after editing a song
Diffstat (limited to 'laravel/resources/views/editsong.blade.php')
-rw-r--r--laravel/resources/views/editsong.blade.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/laravel/resources/views/editsong.blade.php b/laravel/resources/views/editsong.blade.php
index 7ca2115..8bc7d22 100644
--- a/laravel/resources/views/editsong.blade.php
+++ b/laravel/resources/views/editsong.blade.php
@@ -4,6 +4,7 @@
 @section('content')
 
     <form method="POST" action="{{ route('song.show',['song'=>$song]) }}">
+        <input name='playlistReturn' hidden value='{{$_GET['playlist'] ?? ''}}'/>
         @csrf
         <input name='title' placeholder='title' type='text' value='{{$song->title}}'/>
         <input name='author' placeholder='author' type='text' value='{{$song->author}}'/>