@extends('layouts.admin')

@section('content')
  <div class="card-header">
    <h4>Edit Page</h4>
  </div>

  <div class="card-body">
    @include('admin.partials.flash-messages')

    @include('admin.pages.partials.page-form', [
      'page' => $pagedetails,
      'formAction' => route('admin.updatepage'),
      'submitLabel' => 'Update Page',
      'heroTitle' => 'Edit Page',
      'heroDescription' => 'Update the page image, order and rich content while keeping the existing page record intact.',
    ])
  </div>

  @include('admin.partials.attachment-upload-form')
@endsection
