<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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/contact/contact.html.twig */
class __TwigTemplate_808b11accd293a7af6b36b0dff5a35ddbfe918a7e1ee58fdab91b7e8ef2dcd87 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'meta' => [$this, 'block_meta'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base_front.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/contact/contact.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/contact/contact.html.twig"));
$this->parent = $this->loadTemplate("base_front.html.twig", "front/contact/contact.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_meta($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", "meta"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "meta"));
// line 4
yield " <title>Contact</title>
<meta name=\"description\" content=\"Contactez Providders\">
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
// line 8
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 9
yield " <div class=\"page-header\" style=\"background: url(";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/background-contact.jpg"), "html", null, true);
yield ") no-repeat center;background-size: cover\">
<div class=\"container\">
<div class=\"row\">
<!-- page caption -->
<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 \">
<div class=\"page-caption\">
<h1 class=\"page-title\">Contactez-Nous</h1>
</div>
</div>
<!-- /.page caption -->
</div>
</div>
<!-- page caption -->
<div class=\"page-breadcrumb\">
<div class=\"container\">
<div class=\"row\">
<nav aria-label=\"breadcrumb\">
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\"><a href=\"";
// line 27
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_home");
yield "\" class=\"breadcrumb-link\">Accueil</a></li>
<li class=\"breadcrumb-item active text-white\" aria-current=\"page\">Contact</li>
</ol>
</nav>
</div>
</div>
</div>
<!-- page breadcrumb -->
</div>
<div class=\"content\">
<div class=\"container\">
<div class=\"row\">
<div class=\"offset-xl-2 col-xl-8 offset-lg-2 col-lg-8 col-md-12 col-sm-12 col-12 mb60\">
<!-- contact-section-title -->
<div class=\"text-center\">
<p class=\"lead\">Contactez-nous pour toute demande à l'aide du formulaire ci-dessous
</p>
";
// line 44
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 44, $this->source); })()), "flashes", ["success"], "method", false, false, false, 44));
foreach ($context['_seq'] as $context["_key"] => $context["message"]) {
// line 45
yield " <div class=\"alert alert-success\">
";
// line 46
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["message"], "html", null, true);
yield "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['message'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 49
yield " </div>
<!-- /.contact-section-title -->
</div>
<div class=\"offset-xl-3 col-xl-6 offset-lg-3 col-lg-6 col-md-12 col-sm-12 col-12\">
";
// line 53
yield $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.', 53, $this->source); })()), 'form_start', ["attr" => ["novalidate" => "novalidate"]]);
yield "
<!-- form -->
<div class=\"contact-form\">
<div class=\"row\">
<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 mb10 \">
<h3>Formulaire de contact</h3>
</div>
<div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12 \">
<!-- Text input-->
<div class=\"form-group service-form-group\">
";
// line 63
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($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); })()), "firstName", [], "any", false, false, false, 63), 'label');
yield "
";
// line 64
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($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); })()), "firstName", [], "any", false, false, false, 64), 'widget');
yield "
<small style=\"color: red\">";
// line 65
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 65, $this->source); })()), "firstName", [], "any", false, false, false, 65), 'errors');
yield "</small>
</div>
</div>
<!-- Text input-->
<div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12 \">
<div class=\"form-group service-form-group\">
";
// line 71
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($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); })()), "lastName", [], "any", false, false, false, 71), 'label');
yield "
";
// line 72
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 72, $this->source); })()), "lastName", [], "any", false, false, false, 72), 'widget');
yield "
<small style=\"color: red\">";
// line 73
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 73, $this->source); })()), "lastName", [], "any", false, false, false, 73), 'errors');
yield "</small>
</div>
</div>
<!-- Text input-->
<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 \">
<div class=\"form-group service-form-group\">
";
// line 79
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 79, $this->source); })()), "email", [], "any", false, false, false, 79), 'label');
yield "
";
// line 80
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 80, $this->source); })()), "email", [], "any", false, false, false, 80), 'widget');
yield "
<small style=\"color: red\">";
// line 81
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 81, $this->source); })()), "email", [], "any", false, false, false, 81), 'errors');
yield "</small>
</div>
</div>
<!-- Text input-->
<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 \">
<div class=\"form-group service-form-group\">
";
// line 87
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 87, $this->source); })()), "phone", [], "any", false, false, false, 87), 'label');
yield "
";
// line 88
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 88, $this->source); })()), "phone", [], "any", false, false, false, 88), 'widget');
yield "
<small style=\"color: red\">";
// line 89
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 89, $this->source); })()), "phone", [], "any", false, false, false, 89), 'errors');
yield "</small>
</div>
</div>
<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 \">
<!-- textarea -->
<div class=\"form-group\">
";
// line 95
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 95, $this->source); })()), "message", [], "any", false, false, false, 95), 'label');
yield "
";
// line 96
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 96, $this->source); })()), "message", [], "any", false, false, false, 96), 'widget');
yield "
<small style=\"color: red\">";
// line 97
yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 97, $this->source); })()), "message", [], "any", false, false, false, 97), 'errors');
yield "</small>
</div>
</div>
<!--button -->
<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 \">
<button type=\"submit\" name=\"singlebutton\" class=\"btn btn-default\">Envoyer</button>
</div>
</div>
</div>
<!-- /.form -->
";
// line 107
yield $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.', 107, $this->source); })()), 'form_end');
yield "
</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "front/contact/contact.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 259 => 107, 246 => 97, 242 => 96, 238 => 95, 229 => 89, 225 => 88, 221 => 87, 212 => 81, 208 => 80, 204 => 79, 195 => 73, 191 => 72, 187 => 71, 178 => 65, 174 => 64, 170 => 63, 157 => 53, 151 => 49, 142 => 46, 139 => 45, 135 => 44, 115 => 27, 93 => 9, 83 => 8, 70 => 4, 60 => 3, 37 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base_front.html.twig' %}
{% block meta %}
<title>Contact</title>
<meta name=\"description\" content=\"Contactez Providders\">
{% endblock %}
{% block body %}
<div class=\"page-header\" style=\"background: url({{ asset('images/background-contact.jpg') }}) no-repeat center;background-size: cover\">
<div class=\"container\">
<div class=\"row\">
<!-- page caption -->
<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 \">
<div class=\"page-caption\">
<h1 class=\"page-title\">Contactez-Nous</h1>
</div>
</div>
<!-- /.page caption -->
</div>
</div>
<!-- page caption -->
<div class=\"page-breadcrumb\">
<div class=\"container\">
<div class=\"row\">
<nav aria-label=\"breadcrumb\">
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\"><a href=\"{{ path('front_home') }}\" class=\"breadcrumb-link\">Accueil</a></li>
<li class=\"breadcrumb-item active text-white\" aria-current=\"page\">Contact</li>
</ol>
</nav>
</div>
</div>
</div>
<!-- page breadcrumb -->
</div>
<div class=\"content\">
<div class=\"container\">
<div class=\"row\">
<div class=\"offset-xl-2 col-xl-8 offset-lg-2 col-lg-8 col-md-12 col-sm-12 col-12 mb60\">
<!-- contact-section-title -->
<div class=\"text-center\">
<p class=\"lead\">Contactez-nous pour toute demande à l'aide du formulaire ci-dessous
</p>
{% for message in app.flashes('success') %}
<div class=\"alert alert-success\">
{{ message }}
</div>
{% endfor %}
</div>
<!-- /.contact-section-title -->
</div>
<div class=\"offset-xl-3 col-xl-6 offset-lg-3 col-lg-6 col-md-12 col-sm-12 col-12\">
{{ form_start(form, {'attr': {'novalidate': 'novalidate'}}) }}
<!-- form -->
<div class=\"contact-form\">
<div class=\"row\">
<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 mb10 \">
<h3>Formulaire de contact</h3>
</div>
<div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12 \">
<!-- Text input-->
<div class=\"form-group service-form-group\">
{{ form_label(form.firstName) }}
{{ form_widget(form.firstName) }}
<small style=\"color: red\">{{ form_errors(form.firstName) }}</small>
</div>
</div>
<!-- Text input-->
<div class=\"col-xl-6 col-lg-6 col-md-6 col-sm-12 col-12 \">
<div class=\"form-group service-form-group\">
{{ form_label(form.lastName) }}
{{ form_widget(form.lastName) }}
<small style=\"color: red\">{{ form_errors(form.lastName) }}</small>
</div>
</div>
<!-- Text input-->
<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 \">
<div class=\"form-group service-form-group\">
{{ form_label(form.email) }}
{{ form_widget(form.email) }}
<small style=\"color: red\">{{ form_errors(form.email) }}</small>
</div>
</div>
<!-- Text input-->
<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 \">
<div class=\"form-group service-form-group\">
{{ form_label(form.phone) }}
{{ form_widget(form.phone) }}
<small style=\"color: red\">{{ form_errors(form.phone) }}</small>
</div>
</div>
<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 \">
<!-- textarea -->
<div class=\"form-group\">
{{ form_label(form.message) }}
{{ form_widget(form.message) }}
<small style=\"color: red\">{{ form_errors(form.message) }}</small>
</div>
</div>
<!--button -->
<div class=\"col-xl-12 col-lg-12 col-md-12 col-sm-12 col-12 \">
<button type=\"submit\" name=\"singlebutton\" class=\"btn btn-default\">Envoyer</button>
</div>
</div>
</div>
<!-- /.form -->
{{ form_end(form) }}
</div>
</div>
</div>
</div>
{% endblock %}
", "front/contact/contact.html.twig", "/var/www/vhosts/hobbiinn.com/httpdocs/providdersvacance/templates/front/contact/contact.html.twig");
}
}