@section('modal_location') @includeFirst([config('larapen.core.customizedViewPath') . 'layouts.inc.modal.location', 'layouts.inc.modal.location']) @endsection @push('after_styles_stack') @include('layouts.inc.tools.wysiwyg.css') {{-- Single Step Form --}} @if (config('settings.single.publication_form_type') == '2') @if (config('lang.direction') == 'rtl') @endif @endif @endpush @push('after_scripts_stack') @include('layouts.inc.tools.wysiwyg.js') @if (file_exists(public_path() . '/assets/plugins/forms/validation/localization/messages_'.config('app.locale').'.min.js')) @endif {{-- Single Step Form --}} @if (config('settings.single.publication_form_type') == '2') @endif @php $postInput ??= []; $post ??= []; $admin ??= []; $postId = data_get($post, 'id') ?? ''; $postTypeId = data_get($post, 'post_type_id') ?? data_get($postInput, 'post_type_id', 0); $countryCode = data_get($post, 'country_code') ?? data_get($postInput, 'country_code', config('country.code', 0)); $adminType = config('country.admin_type', 0); $selectedAdminCode = data_get($admin, 'code') ?? data_get($postInput, 'admin_code', 0); $cityId = (int)(data_get($post, 'city_id') ?? data_get($postInput, 'city_id', 0)); @endphp @if (config('settings.single.city_selection') == 'select') @else @endif @endpush