DEVELOPMENT ENVIRONMENT

~liljamo/felu

ref: cb7bd8311d85efd14ca363d05e64274d8c427ad9 felu/internal/components/login.templ -rw-r--r-- 601 bytes
cb7bd831Jonni Liljamo fix!: add default to acme_challenge migration 17 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package components

templ Login() {
	@Base("Login") {
		<div class="bg-lime-200">
			<form class="flex flex-col p-2 gap-2" hx-post="/auth/login" hx-target="#login_error">
				<label for="login_email">Email</label>
				<input class="border" type="text" placeholder="..." name="email" id="login_email"/>
				<label for="login_password">Password</label>
				<input class="border" type="password" placeholder="..." name="password" id="login_password"/>
				<div class="text-rose-600 text-center" id="login_error"></div>
				<button class="border p-1" type="submit">Login</button>
			</form>
		</div>
	}
}