= $this->extend('Modules\Admin\Views\_layout') ?>
= $this->section('title') ?>
= lang('Page.create') ?>
= $this->endSection() ?>
= $this->section('pageTitle') ?>
= lang('Page.create') ?>
= $this->endSection() ?>
= $this->section('content') ?>
= form_open(route_to('page-create'), [
'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'),
'required' => 'required',
'data-slugify' => 'title',
]) ?>
= form_label(
lang('Page.form.permalink'),
'slug',
[],
) ?>