22 lines
735 B
HTML
22 lines
735 B
HTML
|
{% extends "base.html" %}
|
||
|
|
||
|
{% block title %}Login{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
<div class="form-container">
|
||
|
<h2>Login</h2>
|
||
|
{% if error %}
|
||
|
<div class="alert error show">
|
||
|
{{ error }}
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
<form method="post" action="/login">
|
||
|
<label for="username">Username:</label>
|
||
|
<input type="text" id="username" name="username" required>
|
||
|
<label for="password">Password:</label>
|
||
|
<input type="password" id="password" name="password" required>
|
||
|
<button type="submit">Login</button>
|
||
|
</form>
|
||
|
<p>Don't have an account? <a href="/register">Register here</a></p>
|
||
|
</div>
|
||
|
{% endblock %}
|