Files
breadcrumb-the-shire/pages/auth/login(login).phtml
2026-02-04 23:31:53 +01:00

47 lines
1.4 KiB
PHTML

<?php
/**
* @var mixed|null $error
*/
use MintyPHP\Buffer;
use MintyPHP\Session;
Buffer::set('title', t('Login'));
?>
<article>
<header>
<img src="<?php e(appLogoUrl(128)); ?>" alt="<?php e(appTitle()); ?>" class="brand-logo" style="margin-bottom:1rem;">
<hgroup>
<h1><?php e(t('Login')); ?></h1>
<p><?php e(t('Please enter your credentials')); ?></p>
</hgroup>
</header>
<form method="post">
<label for="email">
<span><?php e(t('Email')); ?></span>
<input required type="email" name="email" id="email" />
</label>
<label for="password">
<span><?php e(t('Password')); ?></span>
<input required type="password" name="password" id="password" />
</label>
<p>
<label class="app-field inline">
<input type="checkbox" name="remember" value="1">
<span><?php e(t('Remember me')); ?></span>
</label>
</p>
<p>
<button type="submit"><?php e(t('Login')); ?></button>
</p>
<p>
<a href="<?php e(lurl('password/forgot')); ?>"><?php e(t('Forgot password')); ?>?</a>
</p>
<?php Session::getCsrfInput(); ?>
</form>
<hr>
<p class="text-align-center"><?php e(t('No account yet')); ?>? <a href="register"><?php e(t('Register')); ?></a></p>
</article>