summaryrefslogtreecommitdiffstats
path: root/templates/login.htm
blob: e107aeb8d282200dd322a55f48bff15f9d15d3d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{% extends "base.htm" %}

{% block title %}Login{% endblock %}

{% block content %}
<h1>Login</h1>
{% if failed -%}
  <div class="error">Invalid Login Data</div>
{% endif -%}
<form class="fixed-form" action="/login" method="POST">
  <input type="text" placeholder="Enter Username" name="user" required>
  <input type="password" placeholder="Enter Password" name="password" required>

  <button type="submit">Login</button>
</form>
{% endblock %}

<!-- vim: expandtab sw=2 ts=2
-->