I've decided I want this application to be a progressive enhancement application. That means that I'm not going to keep dealing with the insanity that is Javascript bundling and transpiling and building the entire UI in JS. I want to believe I can treat the web the way that it's been designed for decades - as a document platform with enhancement capabilities rather than as an emerging VM
9 lines
306 B
HTML
9 lines
306 B
HTML
{% extends 'layout.html' %}
|
|
{% block body %}
|
|
<h1>Please log in</h1>
|
|
<form action="/login/" method="POST">
|
|
<label>username</label><input type="text" name="username"></input>
|
|
<label>password</label><input type="password" name="password"></input>
|
|
<input type="submit">Log in</input>
|
|
</form>
|
|
{% endblock %}
|