{% 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 element id's should reflect that #} {{ "Nickname or Email" | trans }} {{ "Your nickname or email address." | trans }} {{ "Password" | trans }} {{ "Your account's password." | trans }} {{ "Remember me" | trans }} Sign in {% endif %} {% endblock body %} {% block javascripts %}{% endblock %}
{{ "Your nickname or email address." | trans }}
{{ "Your account's password." | trans }}