<section class="login-panel">
  <div class="login-heading">
    <img class="login-logo" src="<?= e(asset('images/company-logo-v3.png')) ?>" alt="" width="112" height="52">
    <h1>관리자 로그인</h1>
    <p>콘텐츠와 문의를 관리하려면 로그인해 주세요.</p>
  </div>
  <?php if (!empty($notice)): ?><p class="admin-notice" role="status"><?= e($notice) ?></p><?php endif; ?>
  <?php if ($error): ?><p class="admin-error" role="alert"><?= e($error) ?></p><?php endif; ?>
  <form method="post" action="/admin/login">
    <?= csrf_field() ?>
    <label>아이디<input name="username" value="<?= e($username) ?>" required maxlength="80" autocomplete="username"></label>
    <label>비밀번호<input type="password" name="password" required maxlength="200" autocomplete="current-password"></label>
    <button class="button button-primary button-full" type="submit">로그인</button>
  </form>
</section>
