src/Resources/views/Registration/pro/step_1.html.twig line 1

Open in your IDE?
  1. {% extends 'frontend/frontend_pro.html.twig' %}
  2. {% block meta_robot %}
  3.     {{ parent() }}
  4.     <link rel="canonical" href="{{ url('fos_user_registration_register_pro') }}"/>
  5.     {{ source('stubs/seo/robots_noindex_nofollow.html.twig') }}
  6. {% endblock %}
  7. {% block stylesheets %}
  8.     {{ parent() }}
  9.     <link href="https://atlas.microsoft.com/sdk/javascript/mapcontrol/3/atlas.min.css" rel="stylesheet" />
  10. {% endblock %}
  11. {% form_theme form '/Form/form_errors.html.twig' %}
  12. {% block body_content %}
  13. <div class="registration-pro-form pro-register">
  14.     <div class="landing-header">
  15.         <h1 class="titre05">
  16.             {{'frontend.page.register_pro.title'|trans }}
  17.             <span>{{ 'frontend.page.register_pro.subtitle'|trans }}</span>
  18.         </h1>
  19.     </div>
  20.     {% include "/Registration/pro/progress_display.html.twig" with { 'activeStep' : 'step1'} %}
  21.     <div class="landing-content content-pro">
  22.         <div class="profil-pro-content">
  23.             <div class="block-titre-pro">
  24.                 <h2 class="titre01">{{ 'frontend.page.register_pro.form.title'|trans }}</h2>
  25.             </div>
  26.             {{ form_start(form) }}
  27.             <div class="grid-container block-content-pro marginT20">
  28.                 <div class="grid-45 grid-mgright-5 m-100 m-margin">
  29.                     <p>
  30.                         {{ form_label(form.company) }}
  31.                         {{ form_errors(form.company) }}
  32.                         {{ form_widget(form.company) }}
  33.                     </p>
  34.                     <p>
  35.                         {{ form_label(form.VAT) }}
  36.                         {{ form_errors(form.VAT) }}
  37.                         {{ form_widget(form.VAT) }}
  38.                     </p>
  39.                     <p class="{% if is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL')) %}hidden{% endif %}">
  40.                         {{ form_label(form.siret) }}
  41.                         {{ form_errors(form.siret) }}
  42.                         {{ form_widget(form.siret) }}
  43.                     </p>
  44.                     <p class="{% if is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL')) %}hidden{% endif %}">
  45.                         {{ form_label(form.siren) }}
  46.                         {{ form_errors(form.siren) }}
  47.                         {{ form_widget(form.siren) }}
  48.                     </p>
  49.                 </div>
  50.                 <div class="grid-45 grid-mgright-5 m-100 m-margin">
  51.                     <p>
  52.                         {{ form_widget(form.addressMaps) }}
  53.                     </p>
  54.                     <p>
  55.                         {{ form_label(form.address) }}
  56.                         {{ form_errors(form.address) }}
  57.                         {{ form_widget(form.address) }}
  58.                     </p>
  59.                     <p>
  60.                         {{ form_label(form.city) }}
  61.                         {{ form_errors(form.city) }}
  62.                         {{ form_widget(form.city) }}
  63.                     </p>
  64.                     <p>
  65.                         {{ form_label(form.zipCode) }}
  66.                         {{ form_errors(form.zipCode) }}
  67.                         {{ form_widget(form.zipCode) }}
  68.                     </p>
  69.                     <div class="search-list">
  70.                         <p class="bg-block-select">
  71.                             {{ form_label(form.country) }}
  72.                             {{ form_errors(form.country) }}
  73.                             <span class="bg-select block">
  74.                                 <span></span>
  75.                                 {{ form_widget(form.country) }}
  76.                             </span>
  77.                         </p>
  78.                     </div>
  79.                 </div>
  80.             </div>
  81.             <div class="block-titre-pro">
  82.                 <p class="marginT20 btn-container">
  83.                     <input class="btn12 marginR20" type="submit" value="{{ 'frontend.page.register_pro.form.next'|trans }}" />
  84.                 </p>
  85.             </div>
  86.             {{ form_rest(form) }}
  87.             {{ form_end(form) }}
  88.         </div>
  89.     </div>
  90. </div>
  91. {% endblock body_content %}
  92. {% block javascripts %}
  93.     {{ parent() }}
  94.     {% include '/Registration/azure_maps.html.twig' with {'id': '#pro_registration_step1_form_addressMaps', 'address': 'pro_registration_step1_form_address', 'city': 'pro_registration_step1_form_city', 'zipCode': 'pro_registration_step1_form_zipCode', 'country': 'pro_registration_step1_form_country'} %}
  95. {% endblock %}