{% extends '@Components/storybook/preview.html.twig' %}

{% block component %}
   {% if args.type == 'side' %}
      <twig:Modal:Side title="{{ 'form.label.submit'|trans([], 'users') }}">
         <twig:UserLogin:Form/>
      </twig:Modal:Side>
   {% else %}
      <twig:Modal title="{{ 'form.label.submit'|trans([], 'users') }}">
         <twig:UserLogin:Form/>
      </twig:Modal>
   {% endif %}
{% endblock %}
