@include('Partials.sidebar') @include('Partials.header') @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif Communities Locations Section Communities Locations Section Form @csrf Section Title: Section Description: {{ old('section_description', $communitiesLocationsSection->section_description ?? '') }} Location Cards: @php $slideContents = json_decode($communitiesLocationsSection->location_cards, true); @endphp @if (!empty($slideContents) && count($slideContents) > 0) @foreach ($slideContents as $index => $slides_content) Location Name: Time: @if (isset($slides_content['location_image']) && !empty($slides_content['location_image'])) @else @endif Choose Image Remove Card @endforeach @else Location Name: Time: Choose Image Remove Card @endif Add New {{ isset($communitiesLocationsSection) ? 'Update' : 'Submit' }} @include('Partials.footer')