themes/BootstrapExtendTheme/SyliusShopBundle/views/Login/_form.html.twig line 1

Open in your IDE?
  1. {% import '@SyliusShop/Common/Macro/messages.html.twig' as messages %}
  2. {% if last_error %}
  3.     {{ messages.error(last_error.messageKey|trans(last_error.messageData, 'security')) }}
  4. {% endif %}
  5. {{ form_row(form._username) }}
  6. {{ form_row(form._password) }}
  7. {{ form_row(form._remember_me) }}
  8. <script>
  9.     $(document).ready(function () {
  10.         $('input').each(function() {
  11.             let id = $(this).attr('id');
  12.             if (id !== '_remember_me') {
  13.                 $(this).addClass('form-control input-custom input-custom-grey');
  14.             }
  15.         })
  16.     });
  17. </script>