@extends('layouts.admin') @section('title', ($creating ? 'Create' : 'Edit').' '.$product->name.' page — '.config('app.name')) @section('page_title', $creating ? 'Create '.$product->name.' page' : 'Edit '.$product->name.' page') @section('breadcrumbs') @endsection @push('styles') @endpush @push('scripts') @endpush @section('content')
@if ($current === 'slogan')
@csrf @method('PUT')
Slogan

Short line under the product name on the public page and on the home page.

@elseif ($current === 'versions') @include('admin.cms.product-pages._version-downloads') @else @php $def = $catalog[$current]; @endphp
@csrf @method('PUT')
{{ $def['title'] }}
{{ ($filled[$current] ?? false) ? 'On the public page' : 'Not on the page yet' }}
@unless ($filled[$current] ?? false)

This section is empty. Fill it in and save to add it to {{ $product->name }}.

@endunless @include('admin.cms.product-pages._fields', ['key' => $current, 'def' => $def, 'sections' => $sections])
@endif
@endsection