= $this->extend('admin/_layout') ?>
= $this->section('title') ?>
= lang('Page.edit') ?>
= $this->endSection() ?>
= $this->section('pageTitle') ?>
= lang('Page.edit') ?>
= $this->endSection() ?>
= $this->section('content') ?>
= form_open(route_to('page-edit', $page->id), [
'class' => 'flex flex-col max-w-3xl',
]) ?>
= csrf_field() ?>
= form_label(lang('Page.form.title'), 'title', ['class' => 'max-w-sm']) ?>
= form_input([
'id' => 'title',
'name' => 'title',
'class' => 'form-input mb-4 max-w-sm',
'value' => old('title', $page->title),
'required' => 'required',
'data-slugify' => 'title',
'slot' => 'slug-input',
]) ?>
= form_label(
lang('Page.form.permalink'),
'slug',
[],
) ?>