{{-- * LaraClassifier - Classified Ads Web Application * Copyright (c) BeDigit. All Rights Reserved * * Website: https://laraclassifier.com * * LICENSE * ------- * This software is furnished under a license and may be used and copied * only in accordance with the terms of such license and with the inclusion * of the above copyright notice. If you Purchased from CodeCanyon, * Please read the full License from here - http://codecanyon.net/licenses/standard --}} @extends('layouts.master') @php $postTypes ??= []; $countries ??= []; $options = App\Helpers\SaleStatus::getSaleStatusOptions(); $customFieldsHtml ?? ''; $nonDefaults ?? []; @endphp @section('content') @includeFirst([config('larapen.core.customizedViewPath') . 'common.spacer', 'common.spacer'])
@includeFirst([ config('larapen.core.customizedViewPath') . 'post.inc.notification', 'post.inc.notification', ])

{{ t('create_new_listing') }}

{!! csrf_field() !!}
{{-- category_id --}}
@if (config('settings.single.show_listing_types')) {{-- post_type_id --}} {{-- @php $postTypeIdError = isset($errors) && $errors->has('post_type_id') ? ' is-invalid' : ''; $postTypeId = old('post_type_id'); @endphp --}} {{--
@foreach ($postTypes as $postType)
@endforeach
{{ t('post_type_hint') }}
--}} @endif {{-- title --}}
{{-- description --}} @if (!in_array('description', $nonDefaults)) @php $descriptionError = isset($errors) && $errors->has('description') ? ' is-invalid' : ''; $descriptionErrorLabel = ''; $descriptionColClass = 'col-md-8'; if (config('settings.single.wysiwyg_editor') != 'none') { $descriptionColClass = 'col-md-12'; $descriptionErrorLabel = $descriptionError; } @endphp
@endif @if (isset($picturesLimit) && is_numeric($picturesLimit) && $picturesLimit > 0) {{-- pictures --}}
@for ($i = 1; $i <= $picturesLimit; $i++)