@php $citiesContent = getContent('cities.content', true); $localities = App\Models\Location::active()->withCount('properties')->get(); @endphp {{ __(@$citiesContent->data_values->title) }} {{ __(@$citiesContent->data_values->heading) }} @foreach (@$localities as $location) {{ __(@$location->name) }} {{ @$location->properties_count }} {{ str()->plural(__('Property'), (int) @$location->properties_count) }} @endforeach @push('script') @endpush
{{ __(@$citiesContent->data_values->title) }}