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