<?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;
/* Default/contacts.html.twig */
class __TwigTemplate_1e75e063e32c50d28acdf06ed398256d45a987fa51c81840ca638b165b50bf18 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 3
return "Default/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", "Default/contacts.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Default/contacts.html.twig"));
// line 1
$context["title"] = "Contactez-nous";
// line 2
$context["menu"] = "contacts";
// line 3
$this->parent = $this->loadTemplate("Default/base.html.twig", "Default/contacts.html.twig", 3);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
public function block_content($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", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 5
echo "<div id=\"contacts\" class='";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), [""]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), [""]), "html", null, true);
echo "'>
<div class=\"map w100 gpadding ";
// line 6
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), [""]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), [""]), "html", null, true);
echo "\">
<div class=\"w100 shadow hoverflow ";
// line 7
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), [""]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), [""]), "html", null, true);
echo "\">
<iframe class=\"block w100 msquare map-frame noborder\" src=\"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3965.12671923836!2d2.3913669147699013!3d6.377638895385122!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x0!2zNsKwMjInMzkuNSJOIDLCsDIzJzM2LjgiRQ!5e0!3m2!1sfr!2sbj!4v1566340986760!5m2!1sfr!2sbj\" style=\"border:0\" allowfullscreen=\"\" frameborder=\"0\"></iframe>
</div>
</div>
<div class=\"fill hoverflow gpadding ";
// line 11
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["flex row vt-80-in"]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["vt-30-in"]), "html", null, true);
echo "\">
<div class=\"\">
";
// line 13
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.', 13, $this->source); })()), 'form_start', ["attr" => ["class" => (("relative w100 bg-success " . call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["padding-60"])) . call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["top-1-in bottom-25-in hz-25-in"]))]]);
echo "
";
// line 14
$context["class"] = (("relative w100 h6 text-left noradius border-bottom border-solid border-white border-1x nobg white " . call_user_func_array($this->env->getFunction('desktop')->getCallable(), [" vt-15-in bottom-20 "])) . call_user_func_array($this->env->getFunction('mobile')->getCallable(), [" vt-10-in hz-15-in"]));
// line 15
echo " ";
$context["divClass"] = (("" . call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["half-20 vt-10 "])) . call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["vt-10 "]));
// line 16
echo " <div class='";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["flex row space"]), "html", null, true);
echo " w100'>
<div class='w100 white ";
// line 17
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["flex row space wrap"]), "html", null, true);
echo "'>
<div class='";
// line 18
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), [(isset($context["divClass"]) || array_key_exists("divClass", $context) ? $context["divClass"] : (function () { throw new RuntimeError('Variable "divClass" does not exist.', 18, $this->source); })())]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["vt-20"]), "html", null, true);
echo "'>
<label class='upper success-alt h6'>Nom de famille</label>
";
// line 20
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.', 20, $this->source); })()), "fName", [], "any", false, false, false, 20), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 20, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<div class='";
// line 22
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), [(isset($context["divClass"]) || array_key_exists("divClass", $context) ? $context["divClass"] : (function () { throw new RuntimeError('Variable "divClass" does not exist.', 22, $this->source); })())]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["vt-20"]), "html", null, true);
echo "'>
<label class='upper success-alt h6'>Prénom</label>
";
// line 24
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.', 24, $this->source); })()), "lName", [], "any", false, false, false, 24), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 24, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<div class='";
// line 26
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), [(isset($context["divClass"]) || array_key_exists("divClass", $context) ? $context["divClass"] : (function () { throw new RuntimeError('Variable "divClass" does not exist.', 26, $this->source); })())]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["vt-20"]), "html", null, true);
echo "'>
<label class='upper success-alt h6'>Adresse email</label>
";
// 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); })()), "email", [], "any", false, false, false, 28), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 28, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<div class='";
// line 30
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), [(isset($context["divClass"]) || array_key_exists("divClass", $context) ? $context["divClass"] : (function () { throw new RuntimeError('Variable "divClass" does not exist.', 30, $this->source); })())]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["vt-20"]), "html", null, true);
echo "'>
<label class='upper success-alt h6'>Numéro de téléphone</label>
";
// line 32
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.', 32, $this->source); })()), "phone", [], "any", false, false, false, 32), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 32, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<div class='w100 ";
// line 34
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["vt-20"]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["vt-20"]), "html", null, true);
echo "'>
<label class='upper success-alt h6'>Objet du message</label>
";
// 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); })()), "object", [], "any", false, false, false, 36), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 36, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
</div>
</div>
<div class='w100 ";
// line 40
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["vt-20"]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["vt-20"]), "html", null, true);
echo "'>
<label class='upper success-alt h6'>Contenu du message</label>
";
// 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); })()), "content", [], "any", false, false, false, 42), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 42, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<div class='flex row middle ";
// line 44
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["vt-20-in"]), "html", null, true);
echo "'>
<button type='submit' class=\"anim-btn relative flex col bg-white noborder radius-10\">
<span class=\"upper semibold p vt-10-in hz-30-in success\">Envoyer</span>
</button>
</div>
";
// line 49
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.', 49, $this->source); })()), 'form_end');
echo "
</div>
<div class='bg-success-alt white ";
// line 51
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["third_60 hz-60-in vt-40-in"]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["hz-30-in vt-30-in"]), "html", null, true);
echo "'>
<h2 class=\"h4 upper white\">Coordonnées</h2>
<div class=\" ";
// line 53
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["vt-30"]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["vt-15"]), "html", null, true);
echo "\">
<label class='h6 light'>Adresse :</label>
<p class=\"h4 semibold\">";
// line 55
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('os_param')->getCallable(), ["address"]), "html", null, true);
echo "</p>
</div>
<div class=\" ";
// line 57
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["vt-30"]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["vt-15"]), "html", null, true);
echo "\">
<label class='h6 light'>Adresse e-mail :</label>
<p class=\"h4 semibold\">";
// line 59
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('os_param')->getCallable(), ["contacts"]), "email", [], "array", false, false, false, 59), "html", null, true);
echo "</p>
</div>
<div class=\"\">
<label class='h6 light'>Numéro de téléphone :</label>
<p class=\"h4 semibold\">";
// line 63
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('os_param')->getCallable(), ["contacts"]), "phone", [], "array", false, false, false, 63), "html", null, true);
echo "</p>
</div>
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Default/contacts.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 240 => 63, 233 => 59, 226 => 57, 221 => 55, 214 => 53, 207 => 51, 202 => 49, 194 => 44, 189 => 42, 182 => 40, 175 => 36, 168 => 34, 163 => 32, 156 => 30, 151 => 28, 144 => 26, 139 => 24, 132 => 22, 127 => 20, 120 => 18, 116 => 17, 111 => 16, 108 => 15, 106 => 14, 102 => 13, 95 => 11, 86 => 7, 80 => 6, 73 => 5, 63 => 4, 52 => 3, 50 => 2, 48 => 1, 35 => 3,);
}
public function getSourceContext()
{
return new Source("{% set title = 'Contactez-nous' %}
{% set menu = 'contacts' %}
{% extends 'Default/base.html.twig' %}
{% block content %}
<div id=\"contacts\" class='{{desktop(\"\")}} {{mobile(\"\")}}'>
<div class=\"map w100 gpadding {{desktop('')}} {{mobile('')}}\">
<div class=\"w100 shadow hoverflow {{desktop('')}} {{mobile('')}}\">
<iframe class=\"block w100 msquare map-frame noborder\" src=\"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3965.12671923836!2d2.3913669147699013!3d6.377638895385122!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x0!2zNsKwMjInMzkuNSJOIDLCsDIzJzM2LjgiRQ!5e0!3m2!1sfr!2sbj!4v1566340986760!5m2!1sfr!2sbj\" style=\"border:0\" allowfullscreen=\"\" frameborder=\"0\"></iframe>
</div>
</div>
<div class=\"fill hoverflow gpadding {{desktop('flex row vt-80-in')}} {{mobile('vt-30-in')}}\">
<div class=\"\">
{{form_start(form, {'attr':{'class':'relative w100 bg-success '~desktop(\"padding-60\")~mobile(\"top-1-in bottom-25-in hz-25-in\")}})}}
{% set class = 'relative w100 h6 text-left noradius border-bottom border-solid border-white border-1x nobg white '~desktop(\" vt-15-in bottom-20 \")~mobile(\" vt-10-in hz-15-in\") %}
{% set divClass = ''~desktop(\"half-20 vt-10 \")~mobile(\"vt-10 \") %}
<div class='{{desktop(\"flex row space\")}} w100'>
<div class='w100 white {{desktop(\"flex row space wrap\")}}'>
<div class='{{desktop(divClass)}} {{mobile(\"vt-20\")}}'>
<label class='upper success-alt h6'>Nom de famille</label>
{{form_widget(form.fName,{attr: {class:class, placeholder : \"Obligatoire\"}})}}
</div>
<div class='{{desktop(divClass)}} {{mobile(\"vt-20\")}}'>
<label class='upper success-alt h6'>Prénom</label>
{{form_widget(form.lName,{attr: {class:class, placeholder : \"Obligatoire\"}})}}
</div>
<div class='{{desktop(divClass)}} {{mobile(\"vt-20\")}}'>
<label class='upper success-alt h6'>Adresse email</label>
{{form_widget(form.email,{attr: {class:class, placeholder : \"Obligatoire\"}})}}
</div>
<div class='{{desktop(divClass)}} {{mobile(\"vt-20\")}}'>
<label class='upper success-alt h6'>Numéro de téléphone</label>
{{form_widget(form.phone,{attr: {class:class, placeholder : \"Obligatoire\"}})}}
</div>
<div class='w100 {{desktop(\"vt-20\")}} {{mobile(\"vt-20\")}}'>
<label class='upper success-alt h6'>Objet du message</label>
{{form_widget(form.object,{attr: {class:class, placeholder : \"Obligatoire\"}})}}
</div>
</div>
</div>
<div class='w100 {{desktop(\"vt-20\")}} {{mobile(\"vt-20\")}}'>
<label class='upper success-alt h6'>Contenu du message</label>
{{form_widget(form.content,{attr: {class:class, placeholder : \"Obligatoire\"}})}}
</div>
<div class='flex row middle {{desktop(\"vt-20-in\")}}'>
<button type='submit' class=\"anim-btn relative flex col bg-white noborder radius-10\">
<span class=\"upper semibold p vt-10-in hz-30-in success\">Envoyer</span>
</button>
</div>
{{form_end(form)}}
</div>
<div class='bg-success-alt white {{desktop(\"third_60 hz-60-in vt-40-in\")}} {{mobile(\"hz-30-in vt-30-in\")}}'>
<h2 class=\"h4 upper white\">Coordonnées</h2>
<div class=\" {{desktop(\"vt-30\")}} {{mobile(\"vt-15\")}}\">
<label class='h6 light'>Adresse :</label>
<p class=\"h4 semibold\">{{os_param(\"address\")}}</p>
</div>
<div class=\" {{desktop(\"vt-30\")}} {{mobile(\"vt-15\")}}\">
<label class='h6 light'>Adresse e-mail :</label>
<p class=\"h4 semibold\">{{os_param(\"contacts\")[\"email\"]}}</p>
</div>
<div class=\"\">
<label class='h6 light'>Numéro de téléphone :</label>
<p class=\"h4 semibold\">{{os_param(\"contacts\")[\"phone\"]}}</p>
</div>
</div>
</div>
</div>
{% endblock %}
", "Default/contacts.html.twig", "/home/olasoftnka/cefal/templates/Default/contacts.html.twig");
}
}