@if ($loc['show'] || $map['show']) @includeFirst([config('larapen.core.customizedViewPath') . 'home.inc.spacer', 'home.inc.spacer'], ['hideOnMobile' => $hideOnMobile])
@if (!$map['show'])

 {{ t('Choose a city') }}

@endif @if ($loc['show'])
@if (isset($cities))
@if ($loc['show'] && $map['show'])

 {{ t('Choose a city or region') }}

@endif
@foreach ($cities as $key => $items)
    @foreach ($items as $k => $city)
  • @if ($city->id == 0) {!! $city->name !!} @else {{ $city->name }} @if ($loc['countCitiesPosts'])  ({{ $city->posts_count ?? 0 }}) @endif @endif
  • @endforeach
@endforeach
@if ($loc['showButton']) @if (!auth()->check() and config('settings.single.guests_can_post_listings') != '1') {{ t('Create Listing') }} @else {{ t('Create Listing') }} @endif @endif
@endif
@endif @includeFirst([config('larapen.core.customizedViewPath') . 'home.inc.locations.svgmap', 'home.inc.locations.svgmap'])
@endif @section('modal_location') @parent @if ($loc['show'] || $map['show']) @includeFirst([config('larapen.core.customizedViewPath') . 'layouts.inc.modal.location', 'layouts.inc.modal.location']) @endif @endsection