@extends('layouts.app') @section('title', 'Edit Staff Member') @section('nav_staff', 'bg-teal-50 text-teal-700 font-semibold') @section('page_title', 'Staff & Roles') @section('page_subtitle', 'Edit ' . $member->name) @section('content')

Edit Staff Member

@csrf @method('PATCH') @if($errors->any())
    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@if($member->id !== auth()->id())
@else @endif
Cancel
@can('staff.manage') {{-- Submits the SIBLING form below via the form="" owner attribute — a nested here would be merged into the update form by the browser, and this button would silently save edits instead. --}} @endcan
@can('staff.manage') {{-- Sibling of the update form, never inside it (HTML forbids nesting). --}}
@csrf
@endcan
@endsection