@extends('layouts.app')
@section('title', 'Edit Family')
@section('page_title', 'Edit Family ' . $family->family_code)
@section('breadcrumbs')
    <li class="breadcrumb-item"><a href="{{ route('families.index') }}">Families</a></li>
    <li class="breadcrumb-item"><a href="{{ route('families.show', $family) }}">{{ $family->family_code }}</a></li>
    <li class="breadcrumb-item active">Edit</li>
@endsection

@section('content')
    <div class="card"><div class="card-body">
        <form method="POST" action="{{ route('families.update', $family) }}">
            @method('PUT')
            @include('families._form', ['submitLabel' => 'Update Family'])
        </form>
    </div></div>
@endsection
