@include('Partials.sidebar') @include('Partials.header') @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif Collection Completed Properties Section Collection Completed Properties Section Form @csrf Completed Properties Cards: @php $slideContents = json_decode($CollectionCompletedPropertiesSection->card_content, true) ?? []; @endphp @if (count($slideContents) > 0) @foreach ($slideContents as $index => $slides_content) Property Name: Property Description: {{ old('property_description', $slides_content['property_description'] ?? '') }} Property Link: Choose an Image: *Dimension: 700px X 600px @if (isset($slides_content['image']) && !empty($slides_content['image'])) @else @endif Choose Image Remove Card @endforeach @else Property Name: Property Description: Property Link: @endif Add New Card {{ isset($CollectionCompletedPropertiesSection) ? 'Update' : 'Submit' }} @include('Partials.footer')