Files
tabler/shared/components/cards/SignInForm.astro
T

31 lines
1.1 KiB
Plaintext

---
import FormFooter from '@ui/FormFooter.astro'
import FormGroup from '@ui/FormGroup.astro'
import InputGroup from '@ui/InputGroup.astro'
---
<form action="./" method="get" novalidate>
<FormGroup label="Email address" for="signin-email">
<input type="email" id="signin-email" class="form-control" placeholder="your@email.com" autocomplete="email" />
</FormGroup>
<div class="mb-2">
<label class="form-label" for="signin-password">
Password
<span class="form-label-description">
<a href="./forgot-password.html">I forgot password</a>
</span>
</label>
<InputGroup type="password" id="signin-password" placeholder="Your password" autocomplete="current-password" flat appendButton={[{ icon: 'eye', description: 'Show password' }]} />
</div>
<div class="mb-2">
<label class="form-check">
<input type="checkbox" class="form-check-input" />
<span class="form-check-label">Remember me on this device</span>
</label>
</div>
<FormFooter>
<button type="submit" class="btn btn-primary w-100">Sign in</button>
</FormFooter>
</form>