microblog.pub/app/templates/login.html

16 lines
516 B
HTML
Raw Normal View History

2022-06-22 13:11:22 -05:00
{%- import "utils.html" as utils with context -%}
{% extends "layout.html" %}
{% block content %}
2022-08-28 10:36:58 -05:00
<div class="centered">
2022-08-22 11:50:20 -05:00
{% if error %}
<p class="primary-color">Invalid password.</p>
{% endif %}
2022-07-03 15:42:14 -05:00
<form class="form" action="/admin/login" method="POST">
2022-06-22 13:11:22 -05:00
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
2022-07-10 04:04:28 -05:00
<input type="hidden" name="redirect" value="{{ redirect }}">
2022-07-04 12:02:30 -05:00
<input type="password" placeholder="password" name="password" autofocus>
<input type="submit" value="login">
2022-06-22 13:11:22 -05:00
</form>
</div>
{% endblock %}