@extends('admin/layouts/admin') @section('title', __('personalization.sections.title')) @section('scripts') @endsection @section('content')
@include('admin/shared/alerts') @if (!empty($pages))
@if ($active_page == null)
@endif
@if ($active_page)

{{ __('personalization.sections.title') }}

{{ __('personalization.sections.subheading', ['name' => $active_page['title']]) }}

{{ __('global.back') }}
@if ($active_page['sections']->isEmpty())

{!! __('personalization.sections.empty') !!}

@endif
    @foreach ($active_page['sections'] as $section)
  • @if ($section->isPremium()) @endif @if (!$section->is_active) @endif
    {!! $section->toDTO()->render() !!}
  • @endforeach
@foreach ($sectionTypes as $sectionType)
    @foreach ($sectionType->sections as $section)
  • @csrf
  • @endforeach
@endforeach
@endif @else

No sections found

@endif
@endsection