24 lines
629 B
Plaintext
24 lines
629 B
Plaintext
|
package users
|
||
|
|
||
|
import "git.jamestombleson.com/jtom38/newsbot-portal/internal/views/layout"
|
||
|
|
||
|
templ Login() {
|
||
|
@layout.WithTemplate() {
|
||
|
<form hx-post="/users/login">
|
||
|
<div class="field">
|
||
|
<label class="label">Username</label>
|
||
|
<div class="control">
|
||
|
<input class="input" type="text" name="username" id="username"/>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="field">
|
||
|
<label class="label">Password</label>
|
||
|
<div class="control">
|
||
|
<input class="input" type="password" name="password" id="exampleInputPassword1"/>
|
||
|
</div>
|
||
|
</div>
|
||
|
<button type="submit" class="button is-primary">Submit</button>
|
||
|
</form>
|
||
|
}
|
||
|
}
|