23 lines
770 B
Plaintext
23 lines
770 B
Plaintext
package auth
|
|
|
|
import "templ-test/views"
|
|
|
|
templ AuthLogin() {
|
|
@views.WithLayout("Login", true) {
|
|
<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>
|
|
}
|
|
} |