{% extends 'stdgrid.html.twig' %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block title %}Log in!{% endblock %} {% block body %}
{{ "Login" | trans }} {% if error %}
{{ error.messageKey | trans(error.messageData, 'security') }}
{% endif %}

{% if app.user %}

You are logged in as {{ app.user.username }}.

{% else %} {# TODO: Login can be done with email, so the id's and stuff should reflect that, along with using the translation facilities #}
{% endif %}


{% endblock body %} {% block javascripts %}{% endblock %}