package templates

templ Login() {
	<div>
		<h2>Login</h2>
		<form hx-post="/api/user/login" hx-target="#result" hx-swap="innerHTML">
			<div>
				<label>Email:</label>
				<input type="email" name="email" placeholder="Email" required>
			</div>
			<div>
				<label>Password:</label>
				<input type="password" name="password" placeholder="Password" required>
			</div>
			<button type="submit">Login</button>
		</form>
		<div id="result"></div>
		<a href="/">Home</a>
	</div>
}