@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)
  • {{ $section->formattedName() }}
    @if ($section->isPremium()) @endif @if (!$section->is_active) @endif @if ($section->isModifiable()) {{ __('global.edit') }} {{ __('personalization.sections.edit_of', ['name' => $section->formattedName()]) }} @else @endif
  • @endforeach
    @foreach ($themeSections as $section)
  • {{ $section->formattedName() }}
    @csrf
    {!! $section->render() !!}
  • @endforeach
@endif @else

No sections found

@endif
@endsection