newsbot-portal/internal/views/users/login.templ

24 lines
629 B
Plaintext
Raw Normal View History

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>
}
}