12 lines
446 B
Plaintext
12 lines
446 B
Plaintext
|
package templates
|
||
|
|
||
|
templ loginForm() {
|
||
|
<form id="loginForm" method="post" name="login" action="/login.html" method="POST" hx-post="/login.html">
|
||
|
<label>Username </label>
|
||
|
<input type="text" placeholder="username" name="username" required class="input"/>
|
||
|
<label>Password </label>
|
||
|
<input type="password" name="password" required class="input"/>
|
||
|
<button class="button is-primary" type="submit" hx-trigger="click">Login</button>
|
||
|
</form>
|
||
|
}
|