27 lines
667 B
HTML
27 lines
667 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Login{% endblock %}
|
|
{% block headers %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
{% block content %}
|
|
<h1>Login</h1>
|
|
<form action="/api/user/login" method="POST">
|
|
<div>
|
|
<label for="username">Username:</label>
|
|
<input type="text" id="username" name="username" required>
|
|
</div>
|
|
<div>
|
|
<label for="password">Password:</label>
|
|
<input type="password" id="password" name="password" required>
|
|
</div>
|
|
<button type="submit">Login</button>
|
|
</form>
|
|
<div>
|
|
No account yet?
|
|
<a href="/register">Register here!</a>
|
|
</div>
|
|
{% endblock %}
|