templates/sri_cab_booking/step_1.html.twig line 1

Open in your IDE?
  1. {% extends 'template.html.twig' %}
  2. {% block title %}Step 1 | SriCab{% endblock %}
  3. {% block body %}
  4.     <!-- Navigation Section -->
  5.     <nav id="mainnav" class="navbar navbar-default navbar-fixed navbar-scrollspy divinnav no-background white"
  6.          data-minus-value-desktop="70" data-minus-value-mobile="55" data-speed="1000">
  7.         <div class="container-fluid">
  8.             <div class="navbar-header page-scroll">
  9.                 <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-menu">
  10.                     <i class="fa fa-bars"></i>
  11.                 </button>
  12.                 <a class="navbar-brand" href="#home"><img src="{{ asset("images/sricab/sricab-white.png") }}"
  13.                                                           class="logo logo-display img-responsive" alt=""></a>
  14.                 <a class="navbar-brand" href="#home"><img src="{{ asset("images/sricab/sricab-white.png") }}"
  15.                                                           class="logo logo-scrolled img-responsive" alt=""></a>
  16.             </div>
  17.             <div class="collapse navbar-collapse navbar-ex1-collapse" id="navbar-menu">
  18.                 <ul class="nav navbar-nav navbar-right">
  19.                     <li class="active scroll"><a href="#home">Home</a></li>
  20.                     <li class="scroll"><a href="#service">Services</a></li>
  21.                     <li class="scroll"><a href="#about">About Us</a></li>
  22.                     <li class="scroll"><a href="#portfolio">Popular Tour</a></li>
  23.                     <li class="scroll"><a href="#testimonial">Testimonials</a></li>
  24.                     <li class="scroll"><a href="#package">Package</a></li>
  25.                     <li class="scroll"><a href="#news">Blog</a></li>
  26.                     <li class="scroll"><a href="#contact">Contact</a></li>
  27.                 </ul>
  28.             </div>
  29.         </div>
  30.     </nav>
  31.     <section class="booking" id="booking-step-1">
  32.         <div class="container">
  33.             <div class="row text-center" style="margin-top: 10%">
  34.                 <div class="col"><h2>Booking {{ ref }} - Step 1</h2></div>
  35.             </div>
  36.             <div class="row">
  37.                 <div class="col-lg-12 col-md-8 col-md-offset-2 col-lg-offset-0 ">
  38.                     {{ form_start(form) }}
  39.                     {{ form_errors(form) }}
  40.                     <div class="row">
  41.                         <div class="col-lg-12 col-md-8 col-md-offset-2 col-lg-offset-0 ">
  42.                             <div class="input-group">
  43.                                 <span class="input-group-addon" id="lb-booking-name">Name</span>
  44.                                 {{ form_widget(form.nom, {attr:{'class': 'form-control', 'aria-describedby':'booking-name'}}) }}
  45.                             </div>
  46.                         </div>
  47.                     </div>
  48.                     <div class="row" style="margin-top: 1em">
  49.                         <div class="col-lg-12 col-md-8 col-md-offset-2 col-lg-offset-0 ">
  50.                             <div class="input-group">
  51.                                 <span class="input-group-addon" id="lb-booking-mail">E-mail</span>
  52.                                 {{ form_widget(form.mail, {attr:{'class': 'form-control', 'aria-describedby':'booking-name'}}) }}
  53.                             </div>
  54.                         </div>
  55.                     </div>
  56.                     <div class="row" style="margin-top: 1em">
  57.                         <div class="col-lg-12 col-md-8 col-md-offset-2 col-lg-offset-0 ">
  58.                             <div class="input-group">
  59.                                 <span class="input-group-addon" id="lb-booking-phone">Phone Number</span>
  60.                                 {{ form_widget(form.phone, {attr:{'class': 'form-control', 'aria-describedby':'booking-name'}}) }}
  61.                             </div>
  62.                         </div>
  63.                     </div>
  64.                     <div class="row" style="margin-top: 1em">
  65.                         <div class="col-lg-12 col-md-8 col-md-offset-2 col-lg-offset-0 ">
  66.                             <div class="input-group">
  67.                                 <span class="input-group-addon" id="lb-booking-nb-of-seats">Number of Seats</span>
  68.                                 {{ form_widget(form.nbOfSeats, {attr:{'class': 'form-control', 'aria-describedby':'booking-name', 'min':1, 'max':100}}) }}
  69.                             </div>
  70.                         </div>
  71.                     </div>
  72.                     <div class="row" style="margin-top: 1em">
  73.                         <div class="col-lg-12 col-md-8 col-md-offset-2 col-lg-offset-0 ">
  74.                     <button style="margin-top: 2em" type="submit"  pattern="[0-9]*" class="btn btn-success  btn-lg btn-block"> Confirm</button>
  75.                         </div>
  76.                     </div>
  77.                     {{ form_rest(form) }}
  78.                     {{ form_end(form) }}
  79.                 </div>
  80.             </div>
  81.         </div>
  82.     </section>
  83. {% endblock %}