@push('styles') @endpush
{{-- HEADER --}}

Popup Builder

@can('popup-builder.create') + Add Popup @endcan
{{-- BODY --}}
@foreach($pages as $index => $page) {{-- STATUS SWITCH --}} {{-- ACTIONS --}} @endforeach
# Popup Template Name Display Pages Status Actions
{{ $index + 1 }} @if(!empty($page->layout_image)) @endif {{ $page->name }} @php $pages = $page->display_pages; if(is_string($pages)){ $pages = json_decode($pages, true); } $pages = is_array($pages) ? $pages : []; @endphp @if(count($pages)) @foreach($pages as $p) {{ $website_pages_list[$p] ?? $p }} @endforeach @else — @endif
status == 'published' ? 'checked' : '' }}>
@push('scripts') @endpush