diff --git a/app/Http/Controllers/ContactController.php b/app/Http/Controllers/ContactController.php index 12bb7cff..7894e017 100644 --- a/app/Http/Controllers/ContactController.php +++ b/app/Http/Controllers/ContactController.php @@ -166,7 +166,7 @@ class ContactController extends ExtendedController { $model = new SubscribeYouthFireFighter(); $model->fill($request->all()); - $model->birthday = $request->birthday; + $model->birthday = Carbon::createFromFormat('d.m.Y', $request->birthday); # $model->city = $request->city[0]; $model->save(); diff --git a/resources/views/inc/navigation/navbar.blade.php b/resources/views/inc/navigation/navbar.blade.php index 883e7517..e7767e8e 100644 --- a/resources/views/inc/navigation/navbar.blade.php +++ b/resources/views/inc/navigation/navbar.blade.php @@ -227,6 +227,11 @@ 'class' => 'dropdown-item' ]) @endforeach + @include('inc.navigation.navbarLink', [ + 'url' => 'fahrzeug', + 'label' => 'Einsatzfahrzeuge', + 'class' => 'dropdown-item' + ])