шаг 5 завершен
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/** @var string|null $error */
|
||||
/** @var string $next */
|
||||
?>
|
||||
<section class="start-screen">
|
||||
<p class="eyebrow">Админка</p>
|
||||
<h1>Вход</h1>
|
||||
<p class="muted">Введите email и пароль администратора.</p>
|
||||
|
||||
<?php if ($error !== null): ?>
|
||||
<div class="status-box danger"><?= e($error) ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<form class="admin-form" method="post">
|
||||
<input type="hidden" name="next" value="<?= e($next) ?>">
|
||||
<label>
|
||||
Email
|
||||
<input name="email" type="email" autocomplete="username" required>
|
||||
</label>
|
||||
<label>
|
||||
Пароль
|
||||
<input name="password" type="password" autocomplete="current-password" required>
|
||||
</label>
|
||||
<button class="primary-button" type="submit">Войти</button>
|
||||
</form>
|
||||
</section>
|
||||
Reference in New Issue
Block a user