diff --git a/app/Http/Controllers/TranslationController.php b/app/Http/Controllers/TranslationController.php index c653826..787d049 100644 --- a/app/Http/Controllers/TranslationController.php +++ b/app/Http/Controllers/TranslationController.php @@ -57,6 +57,7 @@ public function page(Song $song): Response 'has_translation' => $song->has_translation, 'groups' => $groups, ], + 'prefilledTranslation' => session()->pull('ccli_prefilled'), ]); } diff --git a/resources/js/Pages/Songs/Translate.vue b/resources/js/Pages/Songs/Translate.vue index 66b0472..2d30f39 100644 --- a/resources/js/Pages/Songs/Translate.vue +++ b/resources/js/Pages/Songs/Translate.vue @@ -1,21 +1,34 @@