You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.1 KiB
Twig

{% trans_default_domain 'security' %}
{% extends 'base.html.twig' %}
{% block title %}{% trans %}sign.in{% endtrans %}{% endblock %}
{% block body %}
<h1>{% trans %}sign.in{% endtrans %}</h1>
<section>
<form method="POST">
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
<div>
<label for="email">{% trans %}user.email{% endtrans %}</label>
<input type="email" value="{{ username }}" name="email" id="email" required autofocus>
</div>
<div>
<label for="password">{% trans %}user.password{% endtrans %}</label>
<input type="password" name="password" id="password" required>
</div>
<div>
<label for="remember_me">{% trans %}sign.remember_me{% endtrans %}</label>
<input type="checkbox" name="_remember_me" id="remember_me">
</div>
<button class="btn btn-lg btn-primary" type="submit">{% trans %}sign.in{% endtrans %}</button>
</form>
</section>
{% endblock %}