{% import '@SyliusShop/Macro/messages.html.twig' as messages %}

{% if last_error %}
    {{ messages.error(last_error.messageKey|trans(last_error.messageData, 'security')) }}
{% endif %}

{{ form_row(form._username, sylius_test_form_attribute('login-username')) }}
{{ form_row(form._password, sylius_test_form_attribute('login-password')) }}
{{ form_row(form._remember_me, sylius_test_form_attribute('remember-me')) }}
