var/cache/dev/twig/4d/4d55d6f22b4820dd8463d7b4cc777af439d1e0b8950e60a29734824ceb54389e.php line 39

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* front/service/vtc_autocar.html.twig */
  14. class __TwigTemplate_077503d1b08478361feb4e620d119636f3503c1c63a38d396b84d602579e9a6f extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/service/vtc_autocar.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/service/vtc_autocar.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""front/service/vtc_autocar.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         echo " ";
  55.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'3$this->source); })()), "title", [], "any"falsefalsefalse3), "html"nulltrue);
  56.         echo " | ";
  57.         $this->displayParentBlock("title"$context$blocks);
  58.         echo " ";
  59.         
  60.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  61.         
  62.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  63.     }
  64.     // line 5
  65.     public function block_body($context, array $blocks = [])
  66.     {
  67.         $macros $this->macros;
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  72.         // line 6
  73.         echo "<section class=\"grey-blue-bg small-padding\">
  74.     <div class=\"container\">
  75.         <div class=\"row\">
  76.             <div class=\"col-md-8\">
  77.                 <div class=\"list-single-main-container pl-0\">
  78.                     <div class=\"title-devis\">
  79.                         <span>Devis immédiat pour ";
  80.         // line 12
  81.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'12$this->source); })()), "title", [], "any"falsefalsefalse12), "html"nulltrue);
  82.         echo "</span>
  83.                     </div>
  84.                     <div class=\"etape-demande-devis fl-wrap mb-0\">
  85.                         <div class=\"flex-center-wrap\">
  86.                             <a href=\"#\" class=\"active\"><span>1</span> Type de trajet</a>
  87.                             <a href=\"#\"><span>2</span> Description trajet</a>
  88.                             <a href=\"#\"><span>3</span> Vos informations</a>
  89.                             <a href=\"#\"><span>4</span> Récapitulatif/Validation</a>
  90.                         </div>  
  91.                         ";
  92.         // line 23
  93.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'23$this->source); })()), 'form_start', ["attr" => ["class" => "book-form custom-form"]]);
  94.         echo "
  95.                             <fieldset>
  96.                                 <div class=\"row d-flex flex-wrap\">
  97.                                     <div class=\"col-md-12 width-col-100\">
  98.                                         <div class=\"div-label-input\">
  99.                                             ";
  100.         // line 28
  101.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'28$this->source); })()), "typeOfTrip", [], "any"falsefalsefalse28), 'widget');
  102.         echo "
  103.                                             ";
  104.         // line 29
  105.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'29$this->source); })()), "typeOfTrip", [], "any"falsefalsefalse29), 'errors');
  106.         echo "
  107.                                         </div>
  108.                                     </div>
  109.                                     <div class=\"col-md-6 width-col-100\">
  110.                                         <div class=\"bookdate-container fl-wrap div-label-input\">
  111.                                             ";
  112.         // line 34
  113.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'34$this->source); })()), "departureAddress", [], "any"falsefalsefalse34), 'label');
  114.         echo "
  115.                                             ";
  116.         // line 35
  117.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'35$this->source); })()), "departureAddress", [], "any"falsefalsefalse35), 'widget');
  118.         echo "
  119.                                             ";
  120.         // line 36
  121.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'36$this->source); })()), "departureAddress", [], "any"falsefalsefalse36), 'errors');
  122.         echo "
  123.                                         </div>
  124.                                     </div>
  125.                                     <div class=\"col-md-6 width-col-100\">
  126.                                         <div class=\"bookdate-container fl-wrap div-label-input\">
  127.                                             ";
  128.         // line 41
  129.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'41$this->source); })()), "arrivalAddress", [], "any"falsefalsefalse41), 'label');
  130.         echo "
  131.                                             ";
  132.         // line 42
  133.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'42$this->source); })()), "arrivalAddress", [], "any"falsefalsefalse42), 'widget');
  134.         echo "
  135.                                             ";
  136.         // line 43
  137.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'43$this->source); })()), "arrivalAddress", [], "any"falsefalsefalse43), 'errors');
  138.         echo "
  139.                                         </div>
  140.                                     </div>
  141.                                     <div class=\"col-md-6 width-col-100\">
  142.                                         <div class=\"bookdate-container fl-wrap div-label-input\">
  143.                                             ";
  144.         // line 48
  145.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'48$this->source); })()), "departureDate", [], "any"falsefalsefalse48), 'label');
  146.         echo "
  147.                                             ";
  148.         // line 49
  149.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'49$this->source); })()), "departureDate", [], "any"falsefalsefalse49), 'widget');
  150.         echo "
  151.                                             ";
  152.         // line 50
  153.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'50$this->source); })()), "departureDate", [], "any"falsefalsefalse50), 'errors');
  154.         echo "
  155.                                         </div>
  156.                                     </div>
  157.                                     <div class=\"col-md-6 width-col-100 date-return-none\">
  158.                                         <div class=\"bookdate-container fl-wrap div-label-input\">
  159.                                             ";
  160.         // line 55
  161.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'55$this->source); })()), "returnDate", [], "any"falsefalsefalse55), 'label');
  162.         echo "
  163.                                             ";
  164.         // line 56
  165.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'56$this->source); })()), "returnDate", [], "any"falsefalsefalse56), 'widget');
  166.         echo "
  167.                                             ";
  168.         // line 57
  169.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'57$this->source); })()), "returnDate", [], "any"falsefalsefalse57), 'errors');
  170.         echo "
  171.                                         </div>
  172.                                     </div>
  173.                                     <div class=\"col-md-6 width-col-100\">
  174.                                         <div class=\"bookdate-container fl-wrap div-label-input\">
  175.                                             ";
  176.         // line 62
  177.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'62$this->source); })()), "departureTime", [], "any"falsefalsefalse62), 'label');
  178.         echo "
  179.                                             ";
  180.         // line 63
  181.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'63$this->source); })()), "departureTime", [], "any"falsefalsefalse63), 'widget');
  182.         echo "
  183.                                             ";
  184.         // line 64
  185.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'64$this->source); })()), "departureTime", [], "any"falsefalsefalse64), 'errors');
  186.         echo "
  187.                                         </div>
  188.                                     </div>
  189.                                     <div class=\"col-md-6 width-col-100 heure-return-none\">
  190.                                         <div class=\"bookdate-container fl-wrap div-label-input\">
  191.                                             ";
  192.         // line 69
  193.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'69$this->source); })()), "returnTime", [], "any"falsefalsefalse69), 'label');
  194.         echo "
  195.                                             ";
  196.         // line 70
  197.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'70$this->source); })()), "returnTime", [], "any"falsefalsefalse70), 'widget');
  198.         echo "
  199.                                             ";
  200.         // line 71
  201.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'71$this->source); })()), "returnTime", [], "any"falsefalsefalse71), 'errors');
  202.         echo "
  203.                                         </div>
  204.                                     </div>
  205.                                     <div class=\"col-md-6 width-col-100\">
  206.                                         <div class=\"quantity-item width-100 fl-wrap div-label-input\" id=\"service-data\" data-slug=\"";
  207.         // line 75
  208.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'75$this->source); })()), "slug", [], "any"falsefalsefalse75), "html"nulltrue);
  209.         echo "\">
  210.                                             ";
  211.         // line 76
  212.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'76$this->source); })()), "numberOfPeople", [], "any"falsefalsefalse76), 'label');
  213.         echo "
  214.                                             <div class=\"quantity\">
  215.                                                 ";
  216.         // line 78
  217.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'78$this->source); })()), "numberOfPeople", [], "any"falsefalsefalse78), 'widget');
  218.         echo "
  219.                                                 <div class=\"quantity-nav\">
  220.                                                     <div class=\"quantity-button quantity-up\">+</div>
  221.                                                     <div class=\"quantity-button quantity-down\">-</div>
  222.                                                 </div>
  223.                                             </div>
  224.                                             ";
  225.         // line 84
  226.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'84$this->source); })()), "numberOfPeople", [], "any"falsefalsefalse84), 'errors');
  227.         echo "
  228.                                         </div>
  229.                                     </div>
  230.                                 </div>
  231.                             </fieldset>
  232.                             <div class=\"text-right\">
  233.                                 <button type=\"submit\" class=\"btn-next color2-bg\">";
  234.         // line 90
  235.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Suivant", [], "messages");
  236.         echo " <i class=\"fal fa-angle-double-right\"></i></button>
  237.                             </div>
  238.                         ";
  239.         // line 92
  240.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'92$this->source); })()), 'form_end');
  241.         echo "
  242.                     </div>
  243.                     <div class=\"accordion mar-top\">
  244.                         <a class=\"toggle act-accordion\" href=\"#\"> ";
  245.         // line 96
  246.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'96$this->source); })()), "title", [], "any"falsefalsefalse96), "html"nulltrue);
  247.         echo "   <span></span></a>
  248.                         <div class=\"accordion-inner visible\">
  249.                             ";
  250.         // line 98
  251.         echo twig_get_attribute($this->env$this->source, (isset($context["entity"]) || array_key_exists("entity"$context) ? $context["entity"] : (function () { throw new RuntimeError('Variable "entity" does not exist.'98$this->source); })()), "description", [], "any"falsefalsefalse98);
  252.         echo "
  253.                         </div>
  254.                     </div>
  255.                 </div>
  256.             </div>
  257.             <div class=\"col-md-4\">
  258.                 <div class=\"box-widget-wrap\">  
  259.                     <div class=\"box-widget-item fl-wrap\">
  260.                         <div class=\"box-widget widget-posts\">
  261.                             <div class=\"box-widget-content\">
  262.                                 <div class=\"box-widget-item-header\">
  263.                                     <h3>D'autres types de véhicules</h3>
  264.                                 </div>
  265.                                 ";
  266.         // line 112
  267.         $context['_parent'] = $context;
  268.         $context['_seq'] = twig_ensure_traversable((isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'112$this->source); })()));
  269.         foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
  270.             echo "   
  271.                                 <div class=\"box-image-widget\">
  272.                                     <div class=\"box-image-widget-media\">
  273.                                         ";
  274.             // line 115
  275.             if (twig_get_attribute($this->env$this->source$context["service"], "image", [], "any"falsefalsefalse115)) {
  276.                 // line 116
  277.                 echo "                                            <img src=\"";
  278.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/files/services/" twig_get_attribute($this->env$this->source$context["service"], "image", [], "any"falsefalsefalse116))), "html"nulltrue);
  279.                 echo "\" alt=\"";
  280.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["service"], "title", [], "any"falsefalsefalse116), "html"nulltrue);
  281.                 echo "\" class=\"border-img-ddd\">
  282.                                         ";
  283.             } else {
  284.                 // line 118
  285.                 echo "                                            <img src=\"";
  286.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front/images/all/1.jpg"), "html"nulltrue);
  287.                 echo "\" alt=\"";
  288.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["service"], "title", [], "any"falsefalsefalse118), "html"nulltrue);
  289.                 echo "\">
  290.                                         ";
  291.             }
  292.             // line 120
  293.             echo "                                        ";
  294.             if (((=== twig_compare(twig_get_attribute($this->env$this->source$context["service"], "slug", [], "any"falsefalsefalse120), "vtc-minibus")) || (=== twig_compare(twig_get_attribute($this->env$this->source$context["service"], "slug", [], "any"falsefalsefalse120), "autocar")))) {
  295.                 // line 121
  296.                 echo "                                            <a href=\"";
  297.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_client_service", ["slug" => twig_get_attribute($this->env$this->source$context["service"], "slug", [], "any"falsefalsefalse121)]), "html"nulltrue);
  298.                 echo "\" class=\"color2-bg\">Demander un devis</a>
  299.                                         ";
  300.             } elseif ((=== twig_compare(twig_get_attribute($this->env$this->source,             // line 122
  301. $context["service"], "slug", [], "any"falsefalsefalse122), "ambulance"))) {
  302.                 // line 123
  303.                 echo "                                            <a href=\"";
  304.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_client_service", ["slug" => twig_get_attribute($this->env$this->source$context["service"], "slug", [], "any"falsefalsefalse123)]), "html"nulltrue);
  305.                 echo "\" class=\"color2-bg\">Faire une demande</a>
  306.                                         ";
  307.             } elseif ((=== twig_compare(twig_get_attribute($this->env$this->source,             // line 124
  308. $context["service"], "slug", [], "any"falsefalsefalse124), "taxi"))) {
  309.                 // line 125
  310.                 echo "                                            <a href=\"";
  311.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_client_service", ["slug" => twig_get_attribute($this->env$this->source$context["service"], "slug", [], "any"falsefalsefalse125)]), "html"nulltrue);
  312.                 echo "\" class=\"color2-bg\">Réserver un taxi</a>
  313.                                         ";
  314.             } elseif ((=== twig_compare(twig_get_attribute($this->env$this->source,             // line 126
  315. $context["service"], "slug", [], "any"falsefalsefalse126), "covoiturage"))) {
  316.                 // line 127
  317.                 echo "                                            <a href=\"";
  318.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_client_service", ["slug" => twig_get_attribute($this->env$this->source$context["service"], "slug", [], "any"falsefalsefalse127)]), "html"nulltrue);
  319.                 echo "\" class=\"color2-bg\">Rechercher un trajet</a>
  320.                                         ";
  321.             } else {
  322.                 // line 129
  323.                 echo "                                            <a href=\"";
  324.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_client_service", ["slug" => twig_get_attribute($this->env$this->source$context["service"], "slug", [], "any"falsefalsefalse129)]), "html"nulltrue);
  325.                 echo "\" class=\"color2-bg\">Demander un devis</a>
  326.                                         ";
  327.             }
  328.             // line 131
  329.             echo "                                    </div>
  330.                                     <div class=\"box-image-widget-details\">
  331.                                         <h4>";
  332.             // line 133
  333.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["service"], "title", [], "any"falsefalsefalse133), "html"nulltrue);
  334.             echo "</h4>
  335.                                         <p class=\"p\">";
  336.             // line 134
  337.             echo twig_slice($this->envtwig_get_attribute($this->env$this->source$context["service"], "description", [], "any"falsefalsefalse134), 0175);
  338.             if ((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["service"], "description", [], "any"falsefalsefalse134)), 175))) {
  339.                 echo "...";
  340.             }
  341.             echo "</p>
  342.                                     </div>
  343.                                 </div>
  344.                                 ";
  345.         }
  346.         $_parent $context['_parent'];
  347.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
  348.         $context array_intersect_key($context$_parent) + $_parent;
  349.         // line 138
  350.         echo "                            </div>
  351.                         </div>
  352.                     </div>
  353.                 </div>
  354.             </div>
  355.         </div>
  356.     </div>
  357. </section>
  358. ";
  359.         
  360.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  361.         
  362.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  363.     }
  364.     /**
  365.      * @codeCoverageIgnore
  366.      */
  367.     public function getTemplateName()
  368.     {
  369.         return "front/service/vtc_autocar.html.twig";
  370.     }
  371.     /**
  372.      * @codeCoverageIgnore
  373.      */
  374.     public function isTraitable()
  375.     {
  376.         return false;
  377.     }
  378.     /**
  379.      * @codeCoverageIgnore
  380.      */
  381.     public function getDebugInfo()
  382.     {
  383.         return array (  373 => 138,  360 => 134,  356 => 133,  352 => 131,  346 => 129,  340 => 127,  338 => 126,  333 => 125,  331 => 124,  326 => 123,  324 => 122,  319 => 121,  316 => 120,  308 => 118,  300 => 116,  298 => 115,  290 => 112,  273 => 98,  268 => 96,  261 => 92,  256 => 90,  247 => 84,  238 => 78,  233 => 76,  229 => 75,  222 => 71,  218 => 70,  214 => 69,  206 => 64,  202 => 63,  198 => 62,  190 => 57,  186 => 56,  182 => 55,  174 => 50,  170 => 49,  166 => 48,  158 => 43,  154 => 42,  150 => 41,  142 => 36,  138 => 35,  134 => 34,  126 => 29,  122 => 28,  114 => 23,  100 => 12,  92 => 6,  82 => 5,  59 => 3,  36 => 1,);
  384.     }
  385.     public function getSourceContext()
  386.     {
  387.         return new Source("{% extends 'base.html.twig' %}
  388. {% block title %} {{ entity.title }} | {{ parent() }} {% endblock %}
  389. {% block body %}
  390. <section class=\"grey-blue-bg small-padding\">
  391.     <div class=\"container\">
  392.         <div class=\"row\">
  393.             <div class=\"col-md-8\">
  394.                 <div class=\"list-single-main-container pl-0\">
  395.                     <div class=\"title-devis\">
  396.                         <span>Devis immédiat pour {{ entity.title }}</span>
  397.                     </div>
  398.                     <div class=\"etape-demande-devis fl-wrap mb-0\">
  399.                         <div class=\"flex-center-wrap\">
  400.                             <a href=\"#\" class=\"active\"><span>1</span> Type de trajet</a>
  401.                             <a href=\"#\"><span>2</span> Description trajet</a>
  402.                             <a href=\"#\"><span>3</span> Vos informations</a>
  403.                             <a href=\"#\"><span>4</span> Récapitulatif/Validation</a>
  404.                         </div>  
  405.                         {{ form_start(form, {'attr': {'class': 'book-form custom-form'}}) }}
  406.                             <fieldset>
  407.                                 <div class=\"row d-flex flex-wrap\">
  408.                                     <div class=\"col-md-12 width-col-100\">
  409.                                         <div class=\"div-label-input\">
  410.                                             {{ form_widget(form.typeOfTrip) }}
  411.                                             {{ form_errors(form.typeOfTrip) }}
  412.                                         </div>
  413.                                     </div>
  414.                                     <div class=\"col-md-6 width-col-100\">
  415.                                         <div class=\"bookdate-container fl-wrap div-label-input\">
  416.                                             {{ form_label(form.departureAddress) }}
  417.                                             {{ form_widget(form.departureAddress) }}
  418.                                             {{ form_errors(form.departureAddress) }}
  419.                                         </div>
  420.                                     </div>
  421.                                     <div class=\"col-md-6 width-col-100\">
  422.                                         <div class=\"bookdate-container fl-wrap div-label-input\">
  423.                                             {{ form_label(form.arrivalAddress) }}
  424.                                             {{ form_widget(form.arrivalAddress) }}
  425.                                             {{ form_errors(form.arrivalAddress) }}
  426.                                         </div>
  427.                                     </div>
  428.                                     <div class=\"col-md-6 width-col-100\">
  429.                                         <div class=\"bookdate-container fl-wrap div-label-input\">
  430.                                             {{ form_label(form.departureDate) }}
  431.                                             {{ form_widget(form.departureDate) }}
  432.                                             {{ form_errors(form.departureDate) }}
  433.                                         </div>
  434.                                     </div>
  435.                                     <div class=\"col-md-6 width-col-100 date-return-none\">
  436.                                         <div class=\"bookdate-container fl-wrap div-label-input\">
  437.                                             {{ form_label(form.returnDate) }}
  438.                                             {{ form_widget(form.returnDate) }}
  439.                                             {{ form_errors(form.returnDate) }}
  440.                                         </div>
  441.                                     </div>
  442.                                     <div class=\"col-md-6 width-col-100\">
  443.                                         <div class=\"bookdate-container fl-wrap div-label-input\">
  444.                                             {{ form_label(form.departureTime) }}
  445.                                             {{ form_widget(form.departureTime) }}
  446.                                             {{ form_errors(form.departureTime) }}
  447.                                         </div>
  448.                                     </div>
  449.                                     <div class=\"col-md-6 width-col-100 heure-return-none\">
  450.                                         <div class=\"bookdate-container fl-wrap div-label-input\">
  451.                                             {{ form_label(form.returnTime) }}
  452.                                             {{ form_widget(form.returnTime) }}
  453.                                             {{ form_errors(form.returnTime) }}
  454.                                         </div>
  455.                                     </div>
  456.                                     <div class=\"col-md-6 width-col-100\">
  457.                                         <div class=\"quantity-item width-100 fl-wrap div-label-input\" id=\"service-data\" data-slug=\"{{ entity.slug }}\">
  458.                                             {{ form_label(form.numberOfPeople) }}
  459.                                             <div class=\"quantity\">
  460.                                                 {{ form_widget(form.numberOfPeople) }}
  461.                                                 <div class=\"quantity-nav\">
  462.                                                     <div class=\"quantity-button quantity-up\">+</div>
  463.                                                     <div class=\"quantity-button quantity-down\">-</div>
  464.                                                 </div>
  465.                                             </div>
  466.                                             {{ form_errors(form.numberOfPeople) }}
  467.                                         </div>
  468.                                     </div>
  469.                                 </div>
  470.                             </fieldset>
  471.                             <div class=\"text-right\">
  472.                                 <button type=\"submit\" class=\"btn-next color2-bg\">{% trans %}Suivant{% endtrans %} <i class=\"fal fa-angle-double-right\"></i></button>
  473.                             </div>
  474.                         {{ form_end(form) }}
  475.                     </div>
  476.                     <div class=\"accordion mar-top\">
  477.                         <a class=\"toggle act-accordion\" href=\"#\"> {{ entity.title }}   <span></span></a>
  478.                         <div class=\"accordion-inner visible\">
  479.                             {{ entity.description|raw }}
  480.                         </div>
  481.                     </div>
  482.                 </div>
  483.             </div>
  484.             <div class=\"col-md-4\">
  485.                 <div class=\"box-widget-wrap\">  
  486.                     <div class=\"box-widget-item fl-wrap\">
  487.                         <div class=\"box-widget widget-posts\">
  488.                             <div class=\"box-widget-content\">
  489.                                 <div class=\"box-widget-item-header\">
  490.                                     <h3>D'autres types de véhicules</h3>
  491.                                 </div>
  492.                                 {% for service in services %}   
  493.                                 <div class=\"box-image-widget\">
  494.                                     <div class=\"box-image-widget-media\">
  495.                                         {% if service.image %}
  496.                                             <img src=\"{{ asset('uploads/files/services/' ~ service.image) }}\" alt=\"{{ service.title }}\" class=\"border-img-ddd\">
  497.                                         {% else %}
  498.                                             <img src=\"{{ asset('front/images/all/1.jpg') }}\" alt=\"{{ service.title }}\">
  499.                                         {% endif %}
  500.                                         {% if service.slug == 'vtc-minibus' or service.slug == 'autocar' %}
  501.                                             <a href=\"{{ url('app_client_service', {'slug': service.slug}) }}\" class=\"color2-bg\">Demander un devis</a>
  502.                                         {% elseif service.slug == 'ambulance' %}
  503.                                             <a href=\"{{ url('app_client_service', {'slug': service.slug}) }}\" class=\"color2-bg\">Faire une demande</a>
  504.                                         {% elseif service.slug == 'taxi' %}
  505.                                             <a href=\"{{ url('app_client_service', {'slug': service.slug}) }}\" class=\"color2-bg\">Réserver un taxi</a>
  506.                                         {% elseif service.slug == 'covoiturage' %}
  507.                                             <a href=\"{{ url('app_client_service', {'slug': service.slug}) }}\" class=\"color2-bg\">Rechercher un trajet</a>
  508.                                         {% else %}
  509.                                             <a href=\"{{ url('app_client_service', {'slug': service.slug}) }}\" class=\"color2-bg\">Demander un devis</a>
  510.                                         {% endif %}
  511.                                     </div>
  512.                                     <div class=\"box-image-widget-details\">
  513.                                         <h4>{{ service.title }}</h4>
  514.                                         <p class=\"p\">{{ service.description|slice(0,175)|raw }}{% if service.description|length > 175 %}...{% endif %}</p>
  515.                                     </div>
  516.                                 </div>
  517.                                 {% endfor %}
  518.                             </div>
  519.                         </div>
  520.                     </div>
  521.                 </div>
  522.             </div>
  523.         </div>
  524.     </div>
  525. </section>
  526. {% endblock %}
  527. ""front/service/vtc_autocar.html.twig""/var/www/vhosts/resoh.fr/httpdocs/templates/front/service/vtc_autocar.html.twig");
  528.     }
  529. }