{% import '@SyliusShop/Common/Macro/messages.html.twig' as messages %}
{% if last_error %}
{{ messages.error(last_error.messageKey|trans(last_error.messageData, 'security')) }}
{% endif %}
{{ form_row(form._username) }}
{{ form_row(form._password) }}
{{ form_row(form._remember_me) }}
<script>
$(document).ready(function () {
$('input').each(function() {
let id = $(this).attr('id');
if (id !== '_remember_me') {
$(this).addClass('form-control input-custom input-custom-grey');
}
})
});
</script>