Fill in the details

@csrf
@error('title') {{ $message }} @enderror
{!! $errors->first('address', '') !!}
@if (!in_array($selected_category?->slug, ['jobs', 'seeking-work-cvs']))
{{ $setting?->currency_symbol }}
@endif
@includeWhen($selected_category?->slug == 'jobs', 'user.ads.partials.job') @if (isset($fields) && count($fields) > 0 && $selected_category?->slug != 'jobs') @php // Sort fields by order if available $sortedFields = collect($fields)->sortBy('order')->values()->all(); @endphp
@php $conditionTextareaShown = false; @endphp @foreach ($sortedFields as $field) @php $fieldName = 'fields[' . $field['id'] . ']'; $fieldValue = old( 'fields.' . $field['id'], isset($item) ? $item->getFieldValue($field['id']) : '', ); $isRequired = $field['required'] ? 'required' : ''; $options = $field['options'] ?? []; $slug = $field['slug'] ?? 'field_' . $field['id']; $placeholder = $field['placeholder'] ?? 'Enter ' . $field['name']; @endphp
@switch($field['type']) @case('text') @case('number') @break @case('textarea') @break @case('select') @break @case('radio')
@foreach ($options as $option) @php $optVal = $option['id'] ?? $option['value']; $optLabel = $option['label'] ?? $option['value']; $optionId = $slug . '_' . $loop->index; @endphp
first) ? 'checked' : '' }} {{ $isRequired }}>
@endforeach @if(!$conditionTextareaShown) @php $conditionTextareaShown = true; @endphp @endif
@break @case('checkbox')
@foreach ($options as $option) @php $optVal = $option['id'] ?? $option['value']; $optLabel = $option['label'] ?? $option['value']; $optionId = $slug . '_' . $loop->index; $isChecked = is_array($fieldValue) ? in_array($optVal, $fieldValue) : $fieldValue == $optVal; @endphp
@endforeach
@break @case('brand') @error('brand_id') {{ $message }} @enderror @break @case('brand_model') @error('model') {{ $message }} @enderror @break @default @endswitch @error('fields.' . $field['id']) {{ $message }} @enderror
@endforeach
@endif
Click the magic button to auto‑generate a description based on your title and category. @error('description') {{ $message }} @enderror

{!! $errors->first('thumbnail', '') !!}
@if (!in_array($selected_category?->slug, ['seeking-work-cvs']))

Add up to 5 photos ( Preferred image size 830x520px ) 2MB

You must upload at least one photo

@error('images') {{ $message }} @enderror

@endif

Contact details

+233