{% extends 'base.html.twig' %}
{% block recaptcha %}<script src='https://www.google.com/recaptcha/api.js'></script>{% endblock %}
{% block title %}Registrati{% endblock %}
{% block header %}{% endblock %}
{% block content %}
{{ form_start(form, {'attr': {'novalidate': 'novalidate'}}) }}
<section class="m_tb_110p">
<div class="container">
<div class="row">
<div class="col-12 txt_a_c m_b_40p">
<img src="{{ asset (asset_graphics ~ '/logo-dark.png') }}" width="200" alt="Filoscafo"/>
</div>
<div class="col-12 col-md-10 offset-md-1">
<h3 class="form_title">{% trans from "website" %}registration_01{% endtrans %}</h3>
<h4 class="form_title m_t_30p">{% trans from "website" %}registration_user_01{% endtrans %}</h4>
<hr class="m_t_none">
<div class="row">
<div class="col-12">
<p class="m_b_10p">{% trans from "website" %}registration_user_text{% endtrans %}</p>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_user_02{% endtrans %}*</label>
<div {{ form_errors(form.userName) }}>
{{ form_widget(form.userName) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_user_03{% endtrans %}*</label>
<div {{ form_errors(form.userSurname) }}>
{{ form_widget(form.userSurname) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_user_04{% endtrans %}*</label>
<div {{ form_errors(form.userEmail) }}>
{{ form_widget(form.userEmail) }}
</div>
</div>
</div>
<h4 class="form_title m_t_30p">{% trans from "website" %}registration_agency_01{% endtrans %}</h4>
<hr class="m_t_none">
<div class="row">
<div class="col-12">
<p class="m_b_10p">{% trans from "website" %}registration_agency_text{% endtrans %}</p>
</div>
<div class="col-12 form-group">
<label class="form_label">{% trans from "website" %}registration_agency_02{% endtrans %}*</label>
<div {{ form_errors(form.name) }}>
{{ form_widget(form.name) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_agency_03{% endtrans %}*</label>
<div {{ form_errors(form.fiscalCode) }}>
{{ form_widget(form.fiscalCode) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_agency_04{% endtrans %}*</label>
<div {{ form_errors(form.vat) }}>
{{ form_widget(form.vat) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_agency_05{% endtrans %}*</label>
<div {{ form_errors(form.vatCountry) }}>
{{ form_widget(form.vatCountry, {'attr':{'class':'form-control form-select'}}) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_agency_06{% endtrans %}</label>
<div {{ form_errors(form.sdi) }}>
{{ form_widget(form.sdi) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_agency_07{% endtrans %}*</label>
<div {{ form_errors(form.email) }}>
{{ form_widget(form.email) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_agency_08{% endtrans %}*</label>
<div {{ form_errors(form.phone) }}>
{{ form_widget(form.phone) }}
</div>
</div>
<div class="col-12 col-md-6 form-group">
<label class="form_label">IBAN*</label>
<div {{ form_errors(form.iban) }}>
{{ form_widget(form.iban) }}
</div>
</div>
<div class="col-12 col-md-6 form-group">
<label class="form_label">SWIFT*</label>
<div {{ form_errors(form.swift) }}>
{{ form_widget(form.swift) }}
</div>
</div>
</div>
<h4 class="form_title m_t_30p">{% trans from "website" %}registration_address_01{% endtrans %}</h4>
<hr class="m_t_none">
<div class="row">
<div class="col-12 col-md-8 form-group">
<label class="form_label">{% trans from "website" %}registration_address_02{% endtrans %}*</label>
<div {{ form_errors(form.street) }}>
{{ form_widget(form.street) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_address_03{% endtrans %}*</label>
<div {{ form_errors(form.number) }}>
{{ form_widget(form.number) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_address_04{% endtrans %}</label>
<div {{ form_errors(form.internal) }}>
{{ form_widget(form.internal) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_address_05{% endtrans %}</label>
<div {{ form_errors(form.stairs) }}>
{{ form_widget(form.stairs) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_address_06{% endtrans %}</label>
<div {{ form_errors(form.floor) }}>
{{ form_widget(form.floor) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_address_07{% endtrans %}*</label>
<div {{ form_errors(form.zip) }}>
{{ form_widget(form.zip) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_address_08{% endtrans %}*</label>
<div {{ form_errors(form.city) }}>
{{ form_widget(form.city) }}
</div>
</div>
<div class="col-12 col-md-4 form-group">
<label class="form_label">{% trans from "website" %}registration_address_09{% endtrans %}*</label>
<div {{ form_errors(form.province) }}>
{{ form_widget(form.province) }}
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<hr class="m_t_50p">
<div {{ form_errors(form.recaptcha) }}>
{{ form_widget(form.recaptcha) }}
<div id="divRecaptcha" class="g-recaptcha" data-sitekey="6LcEdHAnAAAAAOVdwvS5a74pHAAEvPfLTk8gHrhe"></div>
</div>
<div class="txt_a_c">
<button type="submit" class="button button-3d button-small button-green">{% trans from "website" %}registration_02{% endtrans %}</button>
</div>
<div class="m_t_20p txt_a_c">
<a href="{{ path ('homepage') }}"><u>{% trans from "website" %}registration_03{% endtrans %}</u></a>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
{{ form_end(form)}}
{% endblock %}
{% block footer %}{% endblock %}