Template
20 lines
448 B
HTML
20 lines
448 B
HTML
{% extends "layout.html" %}
|
|
|
|
{% block content %}
|
|
{% if let Some(err) = self.error %}
|
|
{{ err }}
|
|
{% endif %}
|
|
<h1>Login Page</h1>
|
|
<form method="post">
|
|
<div>
|
|
<label for="username">Username</label>
|
|
<input type="text" id="username" name="username" />
|
|
</div>
|
|
<div>
|
|
<label for="password">Password</label>
|
|
<input type="password" id="password" name="password" />
|
|
</div>
|
|
<button type="submit">Login</button>
|
|
</form>
|
|
{% endblock %}
|