@extends('layouts.admin') @section('title', 'Edit '. $pages[$page]) @section('page_heading', $pages[$page]) @section('content') ← All editable pages

Update {{ strtolower($pages[$page]) }}.

Changes publish immediately when saved. Text is plain text, with no HTML required. Uploaded images are stored in your website media library. Check the preview link after saving.

@csrf @method('PUT') @php($previousGroup = '') @foreach($fields as $key=>$field) @php([$label, $type, $default] = $field) @php($parts = explode(' · ', $label, 2)) @if($previousGroup !== $parts[0])

{{ $parts[0] }}

@php($previousGroup = $parts[0])@endif
@if($type === 'area') @elseif($type === 'image') Current image for {{ $label }} Optional replacement. JPG, PNG or WebP up to 8 MB. @elseif($type === 'line_height') @elseif($type === 'toggle') @else @endif @error(($type === 'image' ? 'images.' : 'copy.').$key)
{{ $message }}
@enderror
@endforeach
Preview public page
@endsection