@extends('user.layout') @section('content')
@csrf
{{ __('Home Page Sections') }}
@if ($themeVersion != 1)
@error('work_steps_section_status')

{{ $message }}

@enderror
@endif @if ($themeVersion != 1)
@error('category_section_status')

{{ $message }}

@enderror
@endif @if ($themeVersion != 3)
@error('featured_properties_section_status')

{{ $message }}

@enderror
@endif
@error('property_section_status')

{{ $message }}

@enderror
@if ($themeVersion == 3)
@error('project_section_status')

{{ $message }}

@enderror
@endif @if ($themeVersion != 2)
@error('about_section_status')

{{ $message }}

@enderror
@endif @if ($themeVersion != 2)
@error('counter_section_status')

{{ $message }}

@enderror
@endif @if ($themeVersion == 1)
@error('agent_section_status')

{{ $message }}

@enderror
@endif @if ($themeVersion != 1)
@error('partner_section_status')

{{ $message }}

@enderror
@endif
@error('testimonial_section_status')

{{ $message }}

@enderror
@if ($themeVersion == 2)
@error('video_section_status')

{{ $message }}

@enderror
@endif @if ($themeVersion == 1)
@error('cities_section_status')

{{ $message }}

@enderror
@endif @if ($themeVersion == 1)
@error('newsletter_section_status')

{{ $message }}

@enderror
@endif @if ($themeVersion == 1)
@error('why_choose_us_section_status')

{{ $message }}

@enderror
@endif
@error('footer_section_status')

{{ $message }}

@enderror
@if (count($customSectons) > 0) @foreach ($customSectons as $customSecton) @php $content = App\Models\User\AdditionalSectionContent::where( 'addition_section_id', $customSecton->id, )->first(); $customStatus = $customSectonStatus; $sectionStatus = isset($customStatus[$customSecton->id]) ? $customStatus[$customSecton->id] : 0; @endphp
@error('additional_section_status')

{{ $message }}

@enderror
@endforeach @endif
@endsection