lebd/templates/auth/login.hamlet

25 lines
906 B
Text
Raw Normal View History

<form .container method="post" action=@{action}>
$maybe tok <- mtok
<input type="hidden" name=#{defaultCsrfParamName} value=#{tok}>
<div .card.bg-dark>
<div .card-body>
<div .form-group>
<label .sr-only for="auth-login-username">username
<div .input-group>
<span .input-group-addon aria-hidden>
<i .fa.fa-at>
<input #auth-login-username .form-control type="text" name="username" placeholder="username" required>
<div .form-group>
<label .sr-only for="auth-login-password">password
<div .input-group>
<span .input-group-addon aria-hidden>
<i .fa.fa-asterisk>
<input #auth-login-password .form-control type="password" name="password" placeholder="password" required>
<div .card-footer>
<button type="submit" class="btn btn-primary">
<i .fa.fa-sign-in>
log in