Plume/templates/session/login.html.tera

20 lines
563 B
Plaintext
Raw Normal View History

2018-05-09 19:53:12 +02:00
{% extends "base" %}
{% import "macros" as macros %}
2018-04-23 11:52:44 +02:00
2018-05-09 19:53:12 +02:00
{% block title %}
2018-06-17 17:26:15 +02:00
{{ "Login" | _ }}
2018-05-09 19:53:12 +02:00
{% endblock title %}
2018-04-23 11:52:44 +02:00
2018-05-09 19:53:12 +02:00
{% block content %}
2018-06-17 17:26:15 +02:00
<h1>{{ "Login" | _ }}</h1>
{% if message %}
2018-06-11 12:33:32 +02:00
<p>{{ message }}</p>
{% endif %}
2018-05-09 19:53:12 +02:00
<form method="post">
{{ macros::input(name="email_or_name", label="Username or email", errors=errors, form=form, props='minlenght="1"') }}
{{ macros::input(name="password", label="Password", errors=errors, form=form, type="password", props='minlenght="8"') }}
2018-05-09 19:53:12 +02:00
<input type="submit" value="{{ "Login" | _ }}" />
2018-05-09 19:53:12 +02:00
</form>
{% endblock content %}