2020-04-25 09:41:22 +02:00
|
|
|
{% extends 'layouts/base.njk' %}
|
|
|
|
|
|
|
|
{% set title = 'Example App - Hello world!' %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
<h1>Login</h1>
|
|
|
|
|
|
|
|
<div class="container">
|
|
|
|
<div class="panel center">
|
2020-07-25 10:48:56 +02:00
|
|
|
<form action="{{ route('auth') }}" method="POST">
|
2020-04-25 09:41:22 +02:00
|
|
|
{{ macros.field(_locals, 'email', 'email', null, 'Your email address', null, 'required') }}
|
|
|
|
{{ macros.field(_locals, 'password', 'password', null, 'Your password', null, 'required') }}
|
|
|
|
|
2020-07-20 16:34:35 +02:00
|
|
|
<button type="submit"><i data-feather="log-in"></i> Login</button>
|
2020-04-25 09:41:22 +02:00
|
|
|
|
|
|
|
{{ macros.csrf(getCSRFToken) }}
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<a href="{{ route('register') }}">I don't have an account</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|