@extends('admin.layouts.container') @section('content')

{{ $head ?? ''}}

{{ __('general.details') }}

@foreach(['name', 'email', 'phone'] as $field) @if(in_array($field, $moduleFields))
@endif @endforeach @if(in_array('city_id', $moduleFields))
@endif @foreach(['cv_file'] as $field) @if(in_array($field, $moduleFields) && $form->{$field} && is_file(public_path('storage/'.$form->{$field}))) @php $fileExt = getFileExtension($form->{$field}); $isPdf = $fileExt === 'pdf'; @endphp
{{ __( {{ __('general.download') }}
@endif @endforeach @foreach([] as $field) @if(in_array($field, $moduleFields) && $form->{$field} && is_file(public_path('storage/'.$form->{$field}))) @php $fileExt = getFileExtension($form->{$field}); $isPdf = $fileExt === 'pdf'; @endphp
{{ __(
@endif @endforeach
{{ __("forms.$module.head") }}
@endsection @push('stack_scripts') @endpush @section('inner_js') {{-- get regions by country --}} @include('admin.partials._script') @endsection