castopod/themes/cp_auth/forgot.php
Yassine Doghri a746a781b4 feat(themes): set generic css variables for colors to enable instance themes
- set new colors using the css variables for theming in tailwind.config.js
- replace admin and
public colors with new variable enabled colors
2021-12-29 12:06:10 +00:00

25 lines
674 B
PHP

<?= helper('form') ?>
<?= $this->extend($config->viewLayout) ?>
<?= $this->section('title') ?>
<?= lang('Auth.forgotPassword') ?>
<?= $this->endSection() ?>
<?= $this->section('content') ?>
<p class="mb-4 text-skin-muted"><?= lang('Auth.enterEmailForInstructions') ?></p>
<form action="<?= route_to('forgot') ?>" method="POST" class="flex flex-col w-full gap-y-4">
<?= csrf_field() ?>
<Forms.Field
name="email"
label="<?= lang('Auth.emailAddress') ?>"
type="email"
required="true" />
<Button variant="primary" type="submit" class="self-end"><?= lang('Auth.sendInstructions') ?></Button>
</form>
<?= $this->endSection() ?>