= $this->extend('_layout') ?>
= $this->section('content') ?>
= form_open(route_to('create-superadmin'), [
'class' => 'flex flex-col max-w-sm w-full',
]) ?>
= csrf_field() ?>
4/4= lang(
'Install.form.create_superadmin',
) ?>
= form_label(lang('Install.form.email'), 'email') ?>
= form_input([
'id' => 'email',
'name' => 'email',
'class' => 'form-input mb-4',
'type' => 'email',
'required' => 'required',
'value' => old('email'),
]) ?>
= form_label(lang('Install.form.username'), 'username') ?>
= form_input([
'id' => 'username',
'name' => 'username',
'class' => 'form-input mb-4',
'required' => 'required',
'value' => old('username'),
]) ?>
= form_label(lang('Install.form.password'), 'password') ?>
= form_input([
'id' => 'password',
'name' => 'password',
'class' => 'form-input mb-4',
'type' => 'password',
'required' => 'required',
'autocomplete' => 'new-password',
]) ?>
= button(
icon('check', 'mr-2') . lang('Install.form.submit'),
'',
[
'variant' => 'primary',
],
[
'type' => 'submit',
'class' => 'self-end',
],
) ?>
= form_close() ?>
= $this->endSection() ?>