diff --git a/app/Http/Controllers/ContactController.php b/app/Http/Controllers/ContactController.php index bc933a24..12bb7cff 100644 --- a/app/Http/Controllers/ContactController.php +++ b/app/Http/Controllers/ContactController.php @@ -188,7 +188,7 @@ class ContactController extends ExtendedController $view = view("inc.contact.subscribeVaccinate"); $view->with('url', $this->route); $view->with('formdata', $formdata); - $view->with('expired', true); + $view->with('expired', false); return $view; } diff --git a/app/Models/SubscribeYouthFireFighter.php b/app/Models/SubscribeYouthFireFighter.php index 6b5ecb4c..9e5121b2 100644 --- a/app/Models/SubscribeYouthFireFighter.php +++ b/app/Models/SubscribeYouthFireFighter.php @@ -15,6 +15,7 @@ use App\Http\Controllers\ServiceController; class SubscribeYouthFireFighter extends ExtendedModel { + protected $table = 'subscribe_youth_fire_fighter'; protected $fillable = [ 'lastnameParent', 'firstnameParent', diff --git a/public/index.php b/public/index.php index f5653b3f..8f8cec1c 100755 --- a/public/index.php +++ b/public/index.php @@ -1,4 +1,5 @@
- + {{ csrf_field() }} @include('inc.forms.inputText', [ 'name' => 'lastnameParent', 'label' => 'Nachname des/der Erziehungsberechtigten *', diff --git a/resources/views/inc/contact/subscribeYouthFireFighterSuccess.blade.php b/resources/views/inc/contact/subscribeYouthFireFighterSuccess.blade.php new file mode 100644 index 00000000..2cb6af58 --- /dev/null +++ b/resources/views/inc/contact/subscribeYouthFireFighterSuccess.blade.php @@ -0,0 +1,32 @@ +@extends('layouts.app') + +@section('social_media') + + +@endsection + +@section('content') +
+
+

+ Anmeldebestätigung +

+
+
+
+
+
+
+
+
+ Die Anmeldung zur Kinderfeuerwehr wurde erfolgreich abgeschlossen.
+ Wir melden uns demnächst mit weiteren Informationen. +
+ Eure Feuerwehr Eppingen +
+
+
+
+ +
+@endsection \ No newline at end of file