@php
$input_field = [
'label' => 'Translation Of',
'name' => 'translation_of',
'options' => $english_records,
'value_element' => 'id',
'label_element' => $english_records_name_element,
'html_params' => ['required' => 'required'],
];
@endphp
@if ($result)
{{ $result->lang_id != App\Models\Language::ENGLISH ? (isset($result->translationOf) ? 'Translation of: ' . $result->translationOf[$english_records_name_element] : 'Parent Record') : 'Parent Record' }}
@else
@error($input_field['name'])
{{ $message }}
@enderror
@endif
@push('scripts')
@endpush