From 5dd251f4518614eaead7cf2b70a4de513a6e1a0d Mon Sep 17 00:00:00 2001 From: philipp lang Date: Mon, 28 Jun 2021 23:15:16 +0200 Subject: [PATCH] Add title when editing member --- app/Member/MemberController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Member/MemberController.php b/app/Member/MemberController.php index 8c79064b..b57ea5dd 100644 --- a/app/Member/MemberController.php +++ b/app/Member/MemberController.php @@ -60,7 +60,7 @@ class MemberController extends Controller public function edit(Member $member, Request $request) { session()->put('menu', 'member'); - session()->put('title', 'Mitglied bearbeiten'); + session()->put('title', "Mitglied {$member->firstname} {$member->lastname} bearbeiten"); return \Inertia::render('member/Form', [ 'billKinds' => BillKind::get()->pluck('name', 'id'),