blob: dfee9a0a43b04c6f6d6bf18fd921b099c25b3bca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{% extends "base.html" %} {% block title %}login{% endblock %} {% block heading
%}
<h1>login</h1>
{% endblock %} {% block content %}
<form hx-post="/login" hx-trigger="submit load" hx-target="#message">
<label for="username">username</label>
<input type="text" name="username" id="username" />
<label for="password">password</label>
<input type="password" name="password" id="password" />
<button type="submit">submit</button>
</form>
<p id="message"></p>
{% endblock %}
|