templates/booking/index.html.twig line 1

Open in your IDE?
  1. {% extends 'standard_tpl.html.twig' %}
  2. {% set page_background = 'page-title.jpg' %}
  3. {% block page_content_wrapper %}
  4.     <div class="step-section booking-section contact-style-two">
  5.         <div class="container">
  6.             <div class="row justify-content-center">
  7.                 <div class="col-md-8">
  8.                     {{ render_flashes() }}
  9.                     {{ form_start(form, {'attr': {'class': 'row g-3'}}) }}
  10.                         <div class="col-md-6">
  11.                             {{ form_label(form.firstName, null, {'label_attr': {'class': 'form-label'}}) }}
  12.                             {{ form_widget(form.firstName, {'attr': {'class': 'form-control'}}) }}
  13.                             {{ form_errors(form.firstName) }}
  14.                         </div>
  15.                         <div class="col-md-6">
  16.                             {{ form_label(form.surname, null, {'label_attr': {'class': 'form-label'}}) }}
  17.                             {{ form_widget(form.surname, {'attr': {'class': 'form-control'}}) }}
  18.                             {{ form_errors(form.surname) }}
  19.                         </div>
  20.                         <div class="col-md-6">
  21.                             {{ form_label(form.phoneNumber, null, {'label_attr': {'class': 'form-label'}}) }}
  22.                             {{ form_widget(form.phoneNumber, {'attr': {'class': 'form-control'}}) }}
  23.                             {{ form_errors(form.phoneNumber) }}
  24.                         </div>
  25.                         <div class="col-md-6">
  26.                             {{ form_label(form.email, null, {'label_attr': {'class': 'form-label'}}) }}
  27.                             {{ form_widget(form.email, {'attr': {'class': 'form-control'}}) }}
  28.                             {{ form_errors(form.email) }}
  29.                         </div>
  30.                         <div class="col-md-12">
  31.                             {{ form_label(form.message, null, {'label_attr': {'class': 'form-label'}}) }}
  32.                             {{ form_widget(form.message, {'attr': {'class': 'form-control'}}) }}
  33.                             {{ form_errors(form.message) }}
  34.                         </div>
  35.                         <div class="col-md-6 d-flex day-select-box">
  36.                             {{ form_label(form.date, null, {'label_attr': {'class': 'form-label'}}) }}
  37.                             {{ form_widget(form.date, {'attr': {'class': 'form-control'}}) }}
  38.                             {{ form_errors(form.date) }}
  39.                         </div>
  40.                         <div class="col-md-6">
  41.                             <div class="form-group d-flex day-select-box">
  42.                             {{ form_label(form.time, null, {'label_attr': {'class': 'form-label'}}) }}
  43.                             {{ form_widget(form.time, {'attr': {'class': 'form-control'}}) }}
  44.                             {{ form_errors(form.time) }}
  45.                             </div>
  46.                         </div>
  47.                         <div class="col-12 text-center mt-5">
  48.                             <button type="submit" class="btn btn-primary theme-btn btn-one">Submit</button>
  49.                         </div>
  50.                     {{ form_end(form) }}
  51.                 </div>
  52.             </div>
  53.         </div>
  54.     </div>
  55. {% endblock %}