<div class="box">
    <h1><?= __('Control panel') ?></h1>
        <?php if (isset($error)): ?>
            <div class="flash flash-error"><?= $error ?></div>
        <?php endif ?>
        <form action="<?= admin_url_to('/login') ?>" method="post">
            <?= csrf_field() ?>

            <div class="input text">
                <label for="username"><?= __('Username') ?></label>
                <input name="username" type="text" id="username" />
            </div>
            <div class="input password">
                <label for="password"><?= __('Password') ?></label>
                <input name="password" value="" type="password" id="password" />
            </div>
            <div class="submit">
                <input type="submit" value="<?= __('Access control panel') ?>" />
            </div>
        </form>
    </div>
</div>