{% extends 'stdgrid.html.twig' %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block title %}{{ "Log in!" | trans }}{% endblock %} {% block body %} {{ "Login" | trans }} {% if error %} {{ error.getMessage() }} {# {% 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 }}. {{ "Logout" | trans }} {% else %} {# TODO: Login can be done with email, so the id's and stuff should reflect that, along with using the translation facilities #} {{ "Nickname or Email" | trans }} {{ "Your nickname." | trans }} {{ "Password" | trans }} {{ "Your account's password." | trans }} {{ "Remember me" | trans }} Sign in {% endif %} {% endblock body %} {% block javascripts %}{% endblock %}
{{ "Your nickname." | trans }}
{{ "Your account's password." | trans }}