zero-to-axum/templates/login.html
2025-07-22 10:12:21 -05:00

19 lines
376 B
HTML

<!DOCTYPE html>
<html lang="en">
<title>Login</title>
{%if let Some(msg) = error %}
<p class="error">{{msg}}</p>
{% endif %}
<form method=post>
<label>
Email Address
<input type=text name=email>
</label>
<label>
Password
<input type=password name=password>
</label>
<button type="submit">Login</button>
</form>
</html>