mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-07 03:09:20 +02:00
40 lines
879 B
PHP
40 lines
879 B
PHP
<?= $this->extend('_layout') ?>
|
|
|
|
<?= $this->section('title') ?>
|
|
<?= lang('User.create') ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
<?= $this->section('pageTitle') ?>
|
|
<?= lang('User.create') ?>
|
|
<?= $this->endSection() ?>
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
<form action="<?= route_to('user-create') ?>" method="POST" class="flex flex-col max-w-sm gap-y-4">
|
|
<?= csrf_field() ?>
|
|
|
|
<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>
|
|
|
|
<?= $this->endSection() ?>
|