2021-09-02 16:34:25 +00:00
|
|
|
<?= $this->extend('_layout') ?>
|
2020-10-08 16:38:30 +00:00
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
2021-09-20 15:45:38 +00:00
|
|
|
<form action="<?= route_to('create-superadmin') ?>" method="POST" class="flex flex-col w-full max-w-sm gap-y-4">
|
2020-10-08 16:38:30 +00:00
|
|
|
<?= csrf_field() ?>
|
|
|
|
|
2021-09-20 15:45:38 +00:00
|
|
|
<div class="flex items-center mb-2">
|
2021-11-05 14:36:34 +00:00
|
|
|
<span class="inline-flex items-center justify-center w-12 h-12 mr-2 text-sm font-semibold tracking-wider border-4 rounded-full text-accent-base border-accent-base">4/4</span>
|
2021-09-20 15:45:38 +00:00
|
|
|
<Heading tagName="h1"><?= lang('Install.form.create_superadmin') ?></Heading>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<Forms.Field
|
2022-10-15 11:22:08 +00:00
|
|
|
name="username"
|
|
|
|
label="<?= lang('Install.form.username') ?>"
|
2021-09-20 15:45:38 +00:00
|
|
|
required="true" />
|
|
|
|
|
|
|
|
<Forms.Field
|
2022-10-15 11:22:08 +00:00
|
|
|
name="email"
|
|
|
|
label="<?= lang('Install.form.email') ?>"
|
|
|
|
type="email"
|
2023-10-03 16:21:08 +00:00
|
|
|
autocomplete="username"
|
2021-09-20 15:45:38 +00:00
|
|
|
required="true" />
|
|
|
|
|
|
|
|
<Forms.Field
|
|
|
|
name="password"
|
|
|
|
label="<?= lang('Install.form.password') ?>"
|
|
|
|
type="password"
|
|
|
|
required="true"
|
|
|
|
autocomplete="new-password" />
|
|
|
|
|
|
|
|
<Button variant="primary" type="submit" class="self-end" iconLeft="check"><?= lang('Install.form.submit') ?></Button>
|
|
|
|
|
|
|
|
</form>
|
2020-10-08 16:38:30 +00:00
|
|
|
|
|
|
|
<?= $this->endSection() ?>
|