2017-10-05 21:32:27 -04:00
|
|
|
<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>
|
2017-10-09 05:30:50 -04:00
|
|
|
<label .sr-only for="auth-login-username">username
|
2017-10-05 21:32:27 -04:00
|
|
|
<div .input-group>
|
|
|
|
<span .input-group-addon aria-hidden>
|
2017-10-09 05:30:50 -04:00
|
|
|
<i .fa.fa-at>
|
|
|
|
<input #auth-login-username .form-control type="text" name="username" placeholder="username" required>
|
2017-10-05 21:32:27 -04:00
|
|
|
|
|
|
|
<div .form-group>
|
2017-10-09 05:30:50 -04:00
|
|
|
<label .sr-only for="auth-login-password">password
|
2017-10-05 21:32:27 -04:00
|
|
|
<div .input-group>
|
|
|
|
<span .input-group-addon aria-hidden>
|
2017-10-09 05:30:50 -04:00
|
|
|
<i .fa.fa-asterisk>
|
|
|
|
<input #auth-login-password .form-control type="password" name="password" placeholder="password" required>
|
2017-10-05 21:32:27 -04:00
|
|
|
|
|
|
|
<div .card-footer>
|
|
|
|
<button type="submit" class="btn btn-primary">
|
|
|
|
<i .fa.fa-sign-in>
|
2017-10-09 05:30:50 -04:00
|
|
|
log in
|