{% extends 'stdgrid.html.twig' %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block title %}{{ "Log in!" | trans }}{% endblock %} {% block body %}

{{ "Login" | trans }}

{% if error %}
    {% for flashError in app.flashes('verify_email_error') %}
  • {{ error.messageKey | trans(error.messageData, 'security') }}
  • {% endfor %}
{% endif %} {% if app.user %}

{{ "You are logged in as" | trans }} {{ 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 #}

{{ "Your nickname." | trans }}

{{ "Your account's password." | trans }}

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