{% extends 'frontend/frontend_pro.html.twig' %}
{% block meta_robot %}
{{ parent() }}
<link rel="canonical" href="{{ url('fos_user_registration_register_pro') }}"/>
{{ source('stubs/seo/robots_noindex_nofollow.html.twig') }}
{% endblock %}
{% block stylesheets %}
{{ parent() }}
<link href="https://atlas.microsoft.com/sdk/javascript/mapcontrol/3/atlas.min.css" rel="stylesheet" />
{% endblock %}
{% form_theme form '/Form/form_errors.html.twig' %}
{% block body_content %}
<div class="registration-pro-form pro-register">
<div class="landing-header">
<h1 class="titre05">
{{'frontend.page.register_pro.title'|trans }}
<span>{{ 'frontend.page.register_pro.subtitle'|trans }}</span>
</h1>
</div>
{% include "/Registration/pro/progress_display.html.twig" with { 'activeStep' : 'step1'} %}
<div class="landing-content content-pro">
<div class="profil-pro-content">
<div class="block-titre-pro">
<h2 class="titre01">{{ 'frontend.page.register_pro.form.title'|trans }}</h2>
</div>
{{ form_start(form) }}
<div class="grid-container block-content-pro marginT20">
<div class="grid-45 grid-mgright-5 m-100 m-margin">
<p>
{{ form_label(form.company) }}
{{ form_errors(form.company) }}
{{ form_widget(form.company) }}
</p>
<p>
{{ form_label(form.VAT) }}
{{ form_errors(form.VAT) }}
{{ form_widget(form.VAT) }}
</p>
<p class="{% if is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL')) %}hidden{% endif %}">
{{ form_label(form.siret) }}
{{ form_errors(form.siret) }}
{{ form_widget(form.siret) }}
</p>
<p class="{% if is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_PORTUGAL')) %}hidden{% endif %}">
{{ form_label(form.siren) }}
{{ form_errors(form.siren) }}
{{ form_widget(form.siren) }}
</p>
</div>
<div class="grid-45 grid-mgright-5 m-100 m-margin">
<p>
{{ form_widget(form.addressMaps) }}
</p>
<p>
{{ form_label(form.address) }}
{{ form_errors(form.address) }}
{{ form_widget(form.address) }}
</p>
<p>
{{ form_label(form.city) }}
{{ form_errors(form.city) }}
{{ form_widget(form.city) }}
</p>
<p>
{{ form_label(form.zipCode) }}
{{ form_errors(form.zipCode) }}
{{ form_widget(form.zipCode) }}
</p>
<div class="search-list">
<p class="bg-block-select">
{{ form_label(form.country) }}
{{ form_errors(form.country) }}
<span class="bg-select block">
<span></span>
{{ form_widget(form.country) }}
</span>
</p>
</div>
</div>
</div>
<div class="block-titre-pro">
<p class="marginT20 btn-container">
<input class="btn12 marginR20" type="submit" value="{{ 'frontend.page.register_pro.form.next'|trans }}" />
</p>
</div>
{{ form_rest(form) }}
{{ form_end(form) }}
</div>
</div>
</div>
{% endblock body_content %}
{% block javascripts %}
{{ parent() }}
{% 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'} %}
{% endblock %}