DEVELOPMENT ENVIRONMENT

~liljamo/felu

ref: 4028af83179f70fd866af02e4212beee82361cfc felu/internal/components/login.templ -rw-r--r-- 601 bytes
4028af83Jonni Liljamo fix: check A record in update api, move check to func 1 year, 23 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>
	}
}