@php $user_id = isset($user) ? $user->id : ''; @endphp

@lang('app.emergency')

@include('components.input.form-select', [ 'label' => __('app.emergency_contact_relation'), 'mandatory' => false, 'name' => 'emergency_contact_relation', 'arr_type' => 'index', 'options' => ['Parent', 'Spouse', 'Child', 'Sibling', 'Friend', 'Colleague'], 'placeholder' => __('app.select_relation'), 'selected' => isset($user) ? $user->emergency_contact_relation : '', 'value_type' => 'string', ])
@include('components.input.form-input', [ 'label' => __('app.emergency_contact_name'), 'mandatory' => false, 'name' => 'emergency_contact_name', 'value' => isset($user) ? $user->emergency_contact_name : '', ])
@include('components.input.form-input', [ 'label' => __('app.emergency_contact_phone'), 'mandatory' => false, 'name' => 'emergency_contact_phone', 'value' => isset($user) ? $user->emergency_contact_phone : '', ])
@include('components.button.card-button-next-prev', [ 'prev' => true, 'next' => true, 'id' => 'emergency', ])
@push('scripts') @endpush