2021-09-02 18:34:25 +02:00
|
|
|
<?= $this->extend('_layout') ?>
|
2020-07-10 14:20:25 +02:00
|
|
|
|
2020-07-16 12:08:23 +02:00
|
|
|
<?= $this->section('title') ?>
|
|
|
|
<?= lang('User.create') ?>
|
|
|
|
<?= $this->endSection() ?>
|
2020-07-10 14:20:25 +02:00
|
|
|
|
2020-10-02 17:38:16 +02:00
|
|
|
<?= $this->section('pageTitle') ?>
|
|
|
|
<?= lang('User.create') ?>
|
|
|
|
<?= $this->endSection() ?>
|
|
|
|
|
2020-07-10 14:20:25 +02:00
|
|
|
|
2020-07-16 12:08:23 +02:00
|
|
|
<?= $this->section('content') ?>
|
2020-07-10 14:20:25 +02:00
|
|
|
|
2021-09-21 17:51:04 +02:00
|
|
|
<form action="<?= route_to('user-create') ?>" method="POST" class="flex flex-col max-w-sm gap-y-4">
|
2020-08-14 20:27:57 +02:00
|
|
|
<?= csrf_field() ?>
|
|
|
|
|
2021-09-20 17:45:38 +02:00
|
|
|
<Forms.Field
|
|
|
|
name="email"
|
|
|
|
type="email"
|
|
|
|
label="<?= lang('User.form.email') ?>"
|
|
|
|
required="true" />
|
|
|
|
|
|
|
|
<Forms.Field
|
|
|
|
name="username"
|
|
|
|
label="<?= lang('User.form.username') ?>"
|
|
|
|
required="true" />
|
|
|
|
|
|
|
|
<Forms.Field
|
|
|
|
name="password"
|
|
|
|
type="password"
|
|
|
|
label="<?= lang('User.form.password') ?>"
|
|
|
|
required="true"
|
|
|
|
autocomplete="new-password" />
|
|
|
|
|
|
|
|
<Button variant="primary" type="submit" class="self-end"><?= lang('User.form.submit_create') ?></Button>
|
|
|
|
|
|
|
|
</form>
|
2020-07-10 14:20:25 +02:00
|
|
|
|
2020-10-22 19:41:59 +02:00
|
|
|
<?= $this->endSection() ?>
|