templates/default/registration.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block recaptcha %}<script src='https://www.google.com/recaptcha/api.js'></script>{% endblock %}
  3. {% block title %}Registrati{% endblock %}
  4. {% block header %}{% endblock %}
  5. {% block content %}
  6. {{ form_start(form, {'attr': {'novalidate': 'novalidate'}}) }}
  7.     <section class="m_tb_110p">
  8.         <div class="container">
  9.             <div class="row">
  10.                 <div class="col-12 txt_a_c m_b_40p">
  11.                     <img src="{{ asset (asset_graphics ~ '/logo-dark.png') }}" width="200" alt="Filoscafo"/>
  12.                 </div>
  13.                 <div class="col-12 col-md-10 offset-md-1">
  14.                     <h3 class="form_title">{% trans from "website" %}registration_01{% endtrans %}</h3>
  15.                     <h4 class="form_title m_t_30p">{% trans from "website" %}registration_user_01{% endtrans %}</h4>
  16.                     <hr class="m_t_none">
  17.                     <div class="row">
  18.                         <div class="col-12">
  19.                             <p class="m_b_10p">{% trans from "website" %}registration_user_text{% endtrans %}</p>
  20.                         </div>
  21.                         <div class="col-12 col-md-4 form-group">
  22.                             <label class="form_label">{% trans from "website" %}registration_user_02{% endtrans %}*</label>
  23.                             <div {{ form_errors(form.userName) }}>
  24.                                 {{ form_widget(form.userName) }}
  25.                             </div>
  26.                         </div>
  27.                         <div class="col-12 col-md-4 form-group">
  28.                             <label class="form_label">{% trans from "website" %}registration_user_03{% endtrans %}*</label>
  29.                             <div {{ form_errors(form.userSurname) }}>
  30.                                 {{ form_widget(form.userSurname) }}
  31.                             </div>
  32.                         </div>
  33.                         <div class="col-12 col-md-4 form-group">
  34.                             <label class="form_label">{% trans from "website" %}registration_user_04{% endtrans %}*</label>
  35.                             <div {{ form_errors(form.userEmail) }}>
  36.                                 {{ form_widget(form.userEmail) }}
  37.                             </div>
  38.                         </div>
  39.                     </div>
  40.                     <h4 class="form_title m_t_30p">{% trans from "website" %}registration_agency_01{% endtrans %}</h4>
  41.                     <hr class="m_t_none">
  42.                     <div class="row">
  43.                         <div class="col-12">
  44.                             <p class="m_b_10p">{% trans from "website" %}registration_agency_text{% endtrans %}</p>
  45.                         </div>
  46.                         <div class="col-12 form-group">
  47.                             <label class="form_label">{% trans from "website" %}registration_agency_02{% endtrans %}*</label>
  48.                             <div {{ form_errors(form.name) }}>
  49.                                 {{ form_widget(form.name) }}
  50.                             </div>
  51.                         </div>
  52.                         <div class="col-12 col-md-4 form-group">
  53.                             <label class="form_label">{% trans from "website" %}registration_agency_03{% endtrans %}*</label>
  54.                             <div {{ form_errors(form.fiscalCode) }}>
  55.                                 {{ form_widget(form.fiscalCode) }}
  56.                             </div>
  57.                         </div>
  58.                         <div class="col-12 col-md-4 form-group">
  59.                             <label class="form_label">{% trans from "website" %}registration_agency_04{% endtrans %}*</label>
  60.                             <div {{ form_errors(form.vat) }}>
  61.                                 {{ form_widget(form.vat) }}
  62.                             </div>
  63.                         </div>
  64.                         <div class="col-12 col-md-4 form-group">
  65.                             <label class="form_label">{% trans from "website" %}registration_agency_05{% endtrans %}*</label>
  66.                             <div {{ form_errors(form.vatCountry) }}>
  67.                                 {{ form_widget(form.vatCountry, {'attr':{'class':'form-control form-select'}}) }}
  68.                             </div>
  69.                         </div>
  70.                         <div class="col-12 col-md-4 form-group">
  71.                             <label class="form_label">{% trans from "website" %}registration_agency_06{% endtrans %}</label>
  72.                             <div {{ form_errors(form.sdi) }}>
  73.                                 {{ form_widget(form.sdi) }}
  74.                             </div>
  75.                         </div>
  76.                         <div class="col-12 col-md-4 form-group">
  77.                             <label class="form_label">{% trans from "website" %}registration_agency_07{% endtrans %}*</label>
  78.                             <div {{ form_errors(form.email) }}>
  79.                                 {{ form_widget(form.email) }}
  80.                             </div>
  81.                         </div>
  82.                         <div class="col-12 col-md-4 form-group">
  83.                             <label class="form_label">{% trans from "website" %}registration_agency_08{% endtrans %}*</label>
  84.                             <div {{ form_errors(form.phone) }}>
  85.                                 {{ form_widget(form.phone) }}
  86.                             </div>
  87.                         </div>
  88.                         <div class="col-12 col-md-6 form-group">
  89.                             <label class="form_label">IBAN*</label>
  90.                             <div {{ form_errors(form.iban) }}>
  91.                                 {{ form_widget(form.iban) }}
  92.                             </div>
  93.                         </div>
  94.                         <div class="col-12 col-md-6 form-group">
  95.                             <label class="form_label">SWIFT*</label>
  96.                             <div {{ form_errors(form.swift) }}>
  97.                                 {{ form_widget(form.swift) }}
  98.                             </div>
  99.                         </div>
  100.                     </div>
  101.                     <h4 class="form_title m_t_30p">{% trans from "website" %}registration_address_01{% endtrans %}</h4>
  102.                     <hr class="m_t_none">
  103.                     <div class="row">
  104.                         <div class="col-12 col-md-8 form-group">
  105.                             <label class="form_label">{% trans from "website" %}registration_address_02{% endtrans %}*</label>
  106.                             <div {{ form_errors(form.street) }}>
  107.                                 {{ form_widget(form.street) }}
  108.                             </div>
  109.                         </div>
  110.                         <div class="col-12 col-md-4 form-group">
  111.                             <label class="form_label">{% trans from "website" %}registration_address_03{% endtrans %}*</label>
  112.                             <div {{ form_errors(form.number) }}>
  113.                                 {{ form_widget(form.number) }}
  114.                             </div>
  115.                         </div>
  116.                         <div class="col-12 col-md-4 form-group">
  117.                             <label class="form_label">{% trans from "website" %}registration_address_04{% endtrans %}</label>
  118.                             <div {{ form_errors(form.internal) }}>
  119.                                 {{ form_widget(form.internal) }}
  120.                             </div>
  121.                         </div>
  122.                         <div class="col-12 col-md-4 form-group">
  123.                             <label class="form_label">{% trans from "website" %}registration_address_05{% endtrans %}</label>
  124.                             <div {{ form_errors(form.stairs) }}>
  125.                                 {{ form_widget(form.stairs) }}
  126.                             </div>
  127.                         </div>
  128.                         <div class="col-12 col-md-4 form-group">
  129.                             <label class="form_label">{% trans from "website" %}registration_address_06{% endtrans %}</label>
  130.                             <div {{ form_errors(form.floor) }}>
  131.                                 {{ form_widget(form.floor) }}
  132.                             </div>
  133.                         </div>
  134.                         <div class="col-12 col-md-4 form-group">
  135.                             <label class="form_label">{% trans from "website" %}registration_address_07{% endtrans %}*</label>
  136.                             <div {{ form_errors(form.zip) }}>
  137.                                 {{ form_widget(form.zip) }}
  138.                             </div>
  139.                         </div>
  140.                         <div class="col-12 col-md-4 form-group">
  141.                             <label class="form_label">{% trans from "website" %}registration_address_08{% endtrans %}*</label>
  142.                             <div {{ form_errors(form.city) }}>
  143.                                 {{ form_widget(form.city) }}
  144.                             </div>
  145.                         </div>
  146.                         <div class="col-12 col-md-4 form-group">
  147.                             <label class="form_label">{% trans from "website" %}registration_address_09{% endtrans %}*</label>
  148.                             <div {{ form_errors(form.province) }}>
  149.                                 {{ form_widget(form.province) }}
  150.                             </div>
  151.                         </div>
  152.                     </div>
  153.                     <div class="row">
  154.                         <div class="col-12">
  155.                             <hr class="m_t_50p">
  156.                             <div {{ form_errors(form.recaptcha) }}>
  157.                                 {{ form_widget(form.recaptcha) }}
  158.                                 <div id="divRecaptcha" class="g-recaptcha" data-sitekey="6LcEdHAnAAAAAOVdwvS5a74pHAAEvPfLTk8gHrhe"></div>
  159.                             </div>
  160.                             <div class="txt_a_c">
  161.                                 <button type="submit" class="button button-3d button-small button-green">{% trans from "website" %}registration_02{% endtrans %}</button>
  162.                             </div>
  163.                             <div class="m_t_20p txt_a_c">
  164.                                 <a href="{{ path ('homepage') }}"><u>{% trans from "website" %}registration_03{% endtrans %}</u></a>
  165.                             </div>
  166.                         </div>
  167.                     </div>
  168.                 </div>
  169.             </div>
  170.         </div>
  171.     </section>
  172. {{ form_end(form)}}
  173. {% endblock %}
  174. {% block footer %}{% endblock %}