<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* front/service/vtc_autocar.html.twig */
class __TwigTemplate_077503d1b08478361feb4e620d119636f3503c1c63a38d396b84d602579e9a6f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/service/vtc_autocar.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/service/vtc_autocar.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "front/service/vtc_autocar.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo " ";
echo twig_escape_filter($this->env, 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.', 3, $this->source); })()), "title", [], "any", false, false, false, 3), "html", null, true);
echo " | ";
$this->displayParentBlock("title", $context, $blocks);
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
echo "<section class=\"grey-blue-bg small-padding\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-8\">
<div class=\"list-single-main-container pl-0\">
<div class=\"title-devis\">
<span>Devis immédiat pour ";
// line 12
echo twig_escape_filter($this->env, 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.', 12, $this->source); })()), "title", [], "any", false, false, false, 12), "html", null, true);
echo "</span>
</div>
<div class=\"etape-demande-devis fl-wrap mb-0\">
<div class=\"flex-center-wrap\">
<a href=\"#\" class=\"active\"><span>1</span> Type de trajet</a>
<a href=\"#\"><span>2</span> Description trajet</a>
<a href=\"#\"><span>3</span> Vos informations</a>
<a href=\"#\"><span>4</span> Récapitulatif/Validation</a>
</div>
";
// line 23
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"]]);
echo "
<fieldset>
<div class=\"row d-flex flex-wrap\">
<div class=\"col-md-12 width-col-100\">
<div class=\"div-label-input\">
";
// line 28
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", false, false, false, 28), 'widget');
echo "
";
// line 29
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", false, false, false, 29), 'errors');
echo "
</div>
</div>
<div class=\"col-md-6 width-col-100\">
<div class=\"bookdate-container fl-wrap div-label-input\">
";
// line 34
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", false, false, false, 34), 'label');
echo "
";
// line 35
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", false, false, false, 35), 'widget');
echo "
";
// line 36
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", false, false, false, 36), 'errors');
echo "
</div>
</div>
<div class=\"col-md-6 width-col-100\">
<div class=\"bookdate-container fl-wrap div-label-input\">
";
// line 41
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", false, false, false, 41), 'label');
echo "
";
// line 42
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", false, false, false, 42), 'widget');
echo "
";
// line 43
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", false, false, false, 43), 'errors');
echo "
</div>
</div>
<div class=\"col-md-6 width-col-100\">
<div class=\"bookdate-container fl-wrap div-label-input\">
";
// line 48
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", false, false, false, 48), 'label');
echo "
";
// line 49
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", false, false, false, 49), 'widget');
echo "
";
// line 50
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", false, false, false, 50), 'errors');
echo "
</div>
</div>
<div class=\"col-md-6 width-col-100 date-return-none\">
<div class=\"bookdate-container fl-wrap div-label-input\">
";
// line 55
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", false, false, false, 55), 'label');
echo "
";
// line 56
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", false, false, false, 56), 'widget');
echo "
";
// line 57
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", false, false, false, 57), 'errors');
echo "
</div>
</div>
<div class=\"col-md-6 width-col-100\">
<div class=\"bookdate-container fl-wrap div-label-input\">
";
// line 62
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", false, false, false, 62), 'label');
echo "
";
// line 63
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", false, false, false, 63), 'widget');
echo "
";
// line 64
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", false, false, false, 64), 'errors');
echo "
</div>
</div>
<div class=\"col-md-6 width-col-100 heure-return-none\">
<div class=\"bookdate-container fl-wrap div-label-input\">
";
// line 69
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", false, false, false, 69), 'label');
echo "
";
// line 70
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", false, false, false, 70), 'widget');
echo "
";
// line 71
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", false, false, false, 71), 'errors');
echo "
</div>
</div>
<div class=\"col-md-6 width-col-100\">
<div class=\"quantity-item width-100 fl-wrap div-label-input\" id=\"service-data\" data-slug=\"";
// line 75
echo twig_escape_filter($this->env, 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.', 75, $this->source); })()), "slug", [], "any", false, false, false, 75), "html", null, true);
echo "\">
";
// line 76
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", false, false, false, 76), 'label');
echo "
<div class=\"quantity\">
";
// line 78
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", false, false, false, 78), 'widget');
echo "
<div class=\"quantity-nav\">
<div class=\"quantity-button quantity-up\">+</div>
<div class=\"quantity-button quantity-down\">-</div>
</div>
</div>
";
// line 84
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", false, false, false, 84), 'errors');
echo "
</div>
</div>
</div>
</fieldset>
<div class=\"text-right\">
<button type=\"submit\" class=\"btn-next color2-bg\">";
// line 90
echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Suivant", [], "messages");
echo " <i class=\"fal fa-angle-double-right\"></i></button>
</div>
";
// line 92
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');
echo "
</div>
<div class=\"accordion mar-top\">
<a class=\"toggle act-accordion\" href=\"#\"> ";
// line 96
echo twig_escape_filter($this->env, 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.', 96, $this->source); })()), "title", [], "any", false, false, false, 96), "html", null, true);
echo " <span></span></a>
<div class=\"accordion-inner visible\">
";
// line 98
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", false, false, false, 98);
echo "
</div>
</div>
</div>
</div>
<div class=\"col-md-4\">
<div class=\"box-widget-wrap\">
<div class=\"box-widget-item fl-wrap\">
<div class=\"box-widget widget-posts\">
<div class=\"box-widget-content\">
<div class=\"box-widget-item-header\">
<h3>D'autres types de véhicules</h3>
</div>
";
// line 112
$context['_parent'] = $context;
$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); })()));
foreach ($context['_seq'] as $context["_key"] => $context["service"]) {
echo "
<div class=\"box-image-widget\">
<div class=\"box-image-widget-media\">
";
// line 115
if (twig_get_attribute($this->env, $this->source, $context["service"], "image", [], "any", false, false, false, 115)) {
// line 116
echo " <img src=\"";
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", false, false, false, 116))), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "title", [], "any", false, false, false, 116), "html", null, true);
echo "\" class=\"border-img-ddd\">
";
} else {
// line 118
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front/images/all/1.jpg"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "title", [], "any", false, false, false, 118), "html", null, true);
echo "\">
";
}
// line 120
echo " ";
if (((0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["service"], "slug", [], "any", false, false, false, 120), "vtc-minibus")) || (0 === twig_compare(twig_get_attribute($this->env, $this->source, $context["service"], "slug", [], "any", false, false, false, 120), "autocar")))) {
// line 121
echo " <a href=\"";
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", false, false, false, 121)]), "html", null, true);
echo "\" class=\"color2-bg\">Demander un devis</a>
";
} elseif ((0 === twig_compare(twig_get_attribute($this->env, $this->source, // line 122
$context["service"], "slug", [], "any", false, false, false, 122), "ambulance"))) {
// line 123
echo " <a href=\"";
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", false, false, false, 123)]), "html", null, true);
echo "\" class=\"color2-bg\">Faire une demande</a>
";
} elseif ((0 === twig_compare(twig_get_attribute($this->env, $this->source, // line 124
$context["service"], "slug", [], "any", false, false, false, 124), "taxi"))) {
// line 125
echo " <a href=\"";
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", false, false, false, 125)]), "html", null, true);
echo "\" class=\"color2-bg\">Réserver un taxi</a>
";
} elseif ((0 === twig_compare(twig_get_attribute($this->env, $this->source, // line 126
$context["service"], "slug", [], "any", false, false, false, 126), "covoiturage"))) {
// line 127
echo " <a href=\"";
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", false, false, false, 127)]), "html", null, true);
echo "\" class=\"color2-bg\">Rechercher un trajet</a>
";
} else {
// line 129
echo " <a href=\"";
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", false, false, false, 129)]), "html", null, true);
echo "\" class=\"color2-bg\">Demander un devis</a>
";
}
// line 131
echo " </div>
<div class=\"box-image-widget-details\">
<h4>";
// line 133
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "title", [], "any", false, false, false, 133), "html", null, true);
echo "</h4>
<p class=\"p\">";
// line 134
echo twig_slice($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "description", [], "any", false, false, false, 134), 0, 175);
if ((1 === twig_compare(twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, $context["service"], "description", [], "any", false, false, false, 134)), 175))) {
echo "...";
}
echo "</p>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['service'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 138
echo " </div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "front/service/vtc_autocar.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %} {{ entity.title }} | {{ parent() }} {% endblock %}
{% block body %}
<section class=\"grey-blue-bg small-padding\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-8\">
<div class=\"list-single-main-container pl-0\">
<div class=\"title-devis\">
<span>Devis immédiat pour {{ entity.title }}</span>
</div>
<div class=\"etape-demande-devis fl-wrap mb-0\">
<div class=\"flex-center-wrap\">
<a href=\"#\" class=\"active\"><span>1</span> Type de trajet</a>
<a href=\"#\"><span>2</span> Description trajet</a>
<a href=\"#\"><span>3</span> Vos informations</a>
<a href=\"#\"><span>4</span> Récapitulatif/Validation</a>
</div>
{{ form_start(form, {'attr': {'class': 'book-form custom-form'}}) }}
<fieldset>
<div class=\"row d-flex flex-wrap\">
<div class=\"col-md-12 width-col-100\">
<div class=\"div-label-input\">
{{ form_widget(form.typeOfTrip) }}
{{ form_errors(form.typeOfTrip) }}
</div>
</div>
<div class=\"col-md-6 width-col-100\">
<div class=\"bookdate-container fl-wrap div-label-input\">
{{ form_label(form.departureAddress) }}
{{ form_widget(form.departureAddress) }}
{{ form_errors(form.departureAddress) }}
</div>
</div>
<div class=\"col-md-6 width-col-100\">
<div class=\"bookdate-container fl-wrap div-label-input\">
{{ form_label(form.arrivalAddress) }}
{{ form_widget(form.arrivalAddress) }}
{{ form_errors(form.arrivalAddress) }}
</div>
</div>
<div class=\"col-md-6 width-col-100\">
<div class=\"bookdate-container fl-wrap div-label-input\">
{{ form_label(form.departureDate) }}
{{ form_widget(form.departureDate) }}
{{ form_errors(form.departureDate) }}
</div>
</div>
<div class=\"col-md-6 width-col-100 date-return-none\">
<div class=\"bookdate-container fl-wrap div-label-input\">
{{ form_label(form.returnDate) }}
{{ form_widget(form.returnDate) }}
{{ form_errors(form.returnDate) }}
</div>
</div>
<div class=\"col-md-6 width-col-100\">
<div class=\"bookdate-container fl-wrap div-label-input\">
{{ form_label(form.departureTime) }}
{{ form_widget(form.departureTime) }}
{{ form_errors(form.departureTime) }}
</div>
</div>
<div class=\"col-md-6 width-col-100 heure-return-none\">
<div class=\"bookdate-container fl-wrap div-label-input\">
{{ form_label(form.returnTime) }}
{{ form_widget(form.returnTime) }}
{{ form_errors(form.returnTime) }}
</div>
</div>
<div class=\"col-md-6 width-col-100\">
<div class=\"quantity-item width-100 fl-wrap div-label-input\" id=\"service-data\" data-slug=\"{{ entity.slug }}\">
{{ form_label(form.numberOfPeople) }}
<div class=\"quantity\">
{{ form_widget(form.numberOfPeople) }}
<div class=\"quantity-nav\">
<div class=\"quantity-button quantity-up\">+</div>
<div class=\"quantity-button quantity-down\">-</div>
</div>
</div>
{{ form_errors(form.numberOfPeople) }}
</div>
</div>
</div>
</fieldset>
<div class=\"text-right\">
<button type=\"submit\" class=\"btn-next color2-bg\">{% trans %}Suivant{% endtrans %} <i class=\"fal fa-angle-double-right\"></i></button>
</div>
{{ form_end(form) }}
</div>
<div class=\"accordion mar-top\">
<a class=\"toggle act-accordion\" href=\"#\"> {{ entity.title }} <span></span></a>
<div class=\"accordion-inner visible\">
{{ entity.description|raw }}
</div>
</div>
</div>
</div>
<div class=\"col-md-4\">
<div class=\"box-widget-wrap\">
<div class=\"box-widget-item fl-wrap\">
<div class=\"box-widget widget-posts\">
<div class=\"box-widget-content\">
<div class=\"box-widget-item-header\">
<h3>D'autres types de véhicules</h3>
</div>
{% for service in services %}
<div class=\"box-image-widget\">
<div class=\"box-image-widget-media\">
{% if service.image %}
<img src=\"{{ asset('uploads/files/services/' ~ service.image) }}\" alt=\"{{ service.title }}\" class=\"border-img-ddd\">
{% else %}
<img src=\"{{ asset('front/images/all/1.jpg') }}\" alt=\"{{ service.title }}\">
{% endif %}
{% if service.slug == 'vtc-minibus' or service.slug == 'autocar' %}
<a href=\"{{ url('app_client_service', {'slug': service.slug}) }}\" class=\"color2-bg\">Demander un devis</a>
{% elseif service.slug == 'ambulance' %}
<a href=\"{{ url('app_client_service', {'slug': service.slug}) }}\" class=\"color2-bg\">Faire une demande</a>
{% elseif service.slug == 'taxi' %}
<a href=\"{{ url('app_client_service', {'slug': service.slug}) }}\" class=\"color2-bg\">Réserver un taxi</a>
{% elseif service.slug == 'covoiturage' %}
<a href=\"{{ url('app_client_service', {'slug': service.slug}) }}\" class=\"color2-bg\">Rechercher un trajet</a>
{% else %}
<a href=\"{{ url('app_client_service', {'slug': service.slug}) }}\" class=\"color2-bg\">Demander un devis</a>
{% endif %}
</div>
<div class=\"box-image-widget-details\">
<h4>{{ service.title }}</h4>
<p class=\"p\">{{ service.description|slice(0,175)|raw }}{% if service.description|length > 175 %}...{% endif %}</p>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
{% endblock %}
", "front/service/vtc_autocar.html.twig", "/var/www/vhosts/resoh.fr/httpdocs/templates/front/service/vtc_autocar.html.twig");
}
}