@php
    $breadcrumbs = [
        ['label' => __('common.home'), 'url' => route('dashboard.index')],
        ['label' => __('common.hr')],
        ['label' => __('recruitment.interview_scorecards.title'), 'url' => route('hr.recruitment.interview-scorecards.index')],
        ['label' => __('common.edit')],
    ];
@endphp

<x-ui.layout.page
    :title="__('common.edit')"
    :subtitle="$scorecard->reference_code"
    page-icon="fe fe-edit-2"
    :breadcrumbs="$breadcrumbs"
>
    @include('pages.hr.recruitment.interview-scorecards._form', [
        'action' => route('hr.recruitment.interview-scorecards.update', $scorecard),
        'method' => 'PUT',
        'scorecard' => $scorecard,
        'recommendationOptions' => $recommendationOptions,
        'submitLabel' => __('common.save'),
    ])
</x-ui.layout.page>
