microblog.pub/app/templates/login.html

19 lines
682 B
HTML
Raw Normal View History

2022-06-22 20:11:22 +02:00
{%- import "utils.html" as utils with context -%}
{% extends "layout.html" %}
2022-09-20 20:00:35 +02:00
{% block main_tag %} class="main-flex"{% endblock %}
2022-06-22 20:11:22 +02:00
{% block content %}
2022-08-28 17:36:58 +02:00
<div class="centered">
2022-09-20 20:00:35 +02:00
<div>
{% if error %}
<p class="primary-color">Invalid password.</p>
{% endif %}
<form class="form" action="/admin/login" method="POST">
<input type="hidden" name="csrf_token" value="{{ csrf_token }}">
<input type="hidden" name="redirect" value="{{ redirect }}">
<input type="password" placeholder="password" name="password" autofocus>
<input type="submit" value="login">
</form>
</div>
2022-06-22 20:11:22 +02:00
</div>
{% endblock %}