2024-04-12 15:48:51 -07:00
|
|
|
package auth
|
|
|
|
|
2024-04-13 11:50:05 -07:00
|
|
|
import "templ-test/views/layout"
|
2024-04-12 15:48:51 -07:00
|
|
|
|
|
|
|
templ AuthLogin() {
|
2024-04-13 11:50:05 -07:00
|
|
|
@layout.WithLayout("Login", true) {
|
2024-04-12 15:48:51 -07:00
|
|
|
<form hx-post="/auth/login">
|
|
|
|
<div class="mb-3">
|
|
|
|
<label for="username" class="form-label">Username</label>
|
|
|
|
<input type="text" name="username" class="form-control" id="username"/>
|
|
|
|
</div>
|
|
|
|
<div class="mb-3">
|
|
|
|
<label for="exampleInputPassword1" class="form-label">Password</label>
|
|
|
|
<input type="password" name="password" class="form-control" id="exampleInputPassword1"/>
|
|
|
|
</div>
|
|
|
|
<div class="mb-3 form-check">
|
|
|
|
<input type="checkbox" class="form-check-input" id="exampleCheck1"/>
|
|
|
|
<label class="form-check-label" for="exampleCheck1">Check me out</label>
|
|
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-primary">Submit</button>
|
|
|
|
</form>
|
|
|
|
}
|
2024-04-13 11:50:05 -07:00
|
|
|
}
|