{% extends 'template.html.twig' %}
{% block title %}Step 1 | SriCab{% endblock %}
{% block body %}
<!-- Navigation Section -->
<nav id="mainnav" class="navbar navbar-default navbar-fixed navbar-scrollspy divinnav no-background white"
data-minus-value-desktop="70" data-minus-value-mobile="55" data-speed="1000">
<div class="container-fluid">
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-menu">
<i class="fa fa-bars"></i>
</button>
<a class="navbar-brand" href="#home"><img src="{{ asset("images/sricab/sricab-white.png") }}"
class="logo logo-display img-responsive" alt=""></a>
<a class="navbar-brand" href="#home"><img src="{{ asset("images/sricab/sricab-white.png") }}"
class="logo logo-scrolled img-responsive" alt=""></a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse" id="navbar-menu">
<ul class="nav navbar-nav navbar-right">
<li class="active scroll"><a href="#home">Home</a></li>
<li class="scroll"><a href="#service">Services</a></li>
<li class="scroll"><a href="#about">About Us</a></li>
<li class="scroll"><a href="#portfolio">Popular Tour</a></li>
<li class="scroll"><a href="#testimonial">Testimonials</a></li>
<li class="scroll"><a href="#package">Package</a></li>
<li class="scroll"><a href="#news">Blog</a></li>
<li class="scroll"><a href="#contact">Contact</a></li>
</ul>
</div>
</div>
</nav>
<section class="booking" id="booking-step-1">
<div class="container">
<div class="row text-center" style="margin-top: 10%">
<div class="col"><h2>Booking {{ ref }} - Step 1</h2></div>
</div>
<div class="row">
<div class="col-lg-12 col-md-8 col-md-offset-2 col-lg-offset-0 ">
{{ form_start(form) }}
{{ form_errors(form) }}
<div class="row">
<div class="col-lg-12 col-md-8 col-md-offset-2 col-lg-offset-0 ">
<div class="input-group">
<span class="input-group-addon" id="lb-booking-name">Name</span>
{{ form_widget(form.nom, {attr:{'class': 'form-control', 'aria-describedby':'booking-name'}}) }}
</div>
</div>
</div>
<div class="row" style="margin-top: 1em">
<div class="col-lg-12 col-md-8 col-md-offset-2 col-lg-offset-0 ">
<div class="input-group">
<span class="input-group-addon" id="lb-booking-mail">E-mail</span>
{{ form_widget(form.mail, {attr:{'class': 'form-control', 'aria-describedby':'booking-name'}}) }}
</div>
</div>
</div>
<div class="row" style="margin-top: 1em">
<div class="col-lg-12 col-md-8 col-md-offset-2 col-lg-offset-0 ">
<div class="input-group">
<span class="input-group-addon" id="lb-booking-phone">Phone Number</span>
{{ form_widget(form.phone, {attr:{'class': 'form-control', 'aria-describedby':'booking-name'}}) }}
</div>
</div>
</div>
<div class="row" style="margin-top: 1em">
<div class="col-lg-12 col-md-8 col-md-offset-2 col-lg-offset-0 ">
<div class="input-group">
<span class="input-group-addon" id="lb-booking-nb-of-seats">Number of Seats</span>
{{ form_widget(form.nbOfSeats, {attr:{'class': 'form-control', 'aria-describedby':'booking-name', 'min':1, 'max':100}}) }}
</div>
</div>
</div>
<div class="row" style="margin-top: 1em">
<div class="col-lg-12 col-md-8 col-md-offset-2 col-lg-offset-0 ">
<button style="margin-top: 2em" type="submit" pattern="[0-9]*" class="btn btn-success btn-lg btn-block"> Confirm</button>
</div>
</div>
{{ form_rest(form) }}
{{ form_end(form) }}
</div>
</div>
</div>
</section>
{% endblock %}