<?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_279c66403f569af97297a3fc1ad52b7ebb47c670a2a8b8676b31b011b72da252 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 4
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
$context["hasReCaptcha"] = true;
// line 4
$this->parent = $this->loadTemplate("Default/base.html.twig", "Default/contacts.html.twig", 4);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 5
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 6
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=\"fill hoverflow gpadding ";
// line 7
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 9
echo twig_include($this->env, $context, "Default/notice.html.twig");
echo "
";
// line 10
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.', 10, $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 11
$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 12
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 13
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 14
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 15
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.', 15, $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 h6'>Nom de famille</label>
";
// line 17
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.', 17, $this->source); })()), "lName", [], "any", false, false, false, 17), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 17, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<div class='";
// line 19
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.', 19, $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 h6'>Prénom</label>
";
// line 21
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.', 21, $this->source); })()), "fName", [], "any", false, false, false, 21), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 21, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<div class='";
// line 23
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.', 23, $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 h6'>Adresse email</label>
";
// line 25
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.', 25, $this->source); })()), "email", [], "any", false, false, false, 25), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 25, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<div class='";
// line 27
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.', 27, $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 h6'>Numéro de téléphone</label>
";
// 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); })()), "phone", [], "any", false, false, false, 29), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 29, $this->source); })()), "placeholder" => "Optionnel"]]);
echo "
</div>
<div class='w100 ";
// line 31
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 h6'>Objet du message</label>
";
// line 33
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.', 33, $this->source); })()), "object", [], "any", false, false, false, 33), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 33, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
</div>
</div>
<div class='w100 ";
// line 37
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 white h6'>Contenu du message</label>
";
// line 39
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.', 39, $this->source); })()), "content", [], "any", false, false, false, 39), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 39, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<div class='flex middle col center ";
// line 41
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["vt-20-in"]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["center"]), "html", null, true);
echo "'>
<div class=\"g-recaptcha\" data-sitekey=\"";
// line 42
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, call_user_func_array($this->env->getFunction('os_param')->getCallable(), ["recaptcha"]), "key", [], "array", false, false, false, 42), "html", null, true);
echo "\"></div>
<button type='submit' class=\"anim-btn relative flex col bg-white noborder radius-5 ";
// line 43
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["top-15"]), "html", null, true);
echo "\">
<span class=\"upper semibold p vt-10-in hz-30-in success\">Envoyer</span>
</button>
</div>
";
// line 47
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.', 47, $this->source); })()), 'form_end');
echo "
</div>
<div class='";
// line 49
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["third_60 hz-60-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 "'>
<div class=\"\">
<h2 class=\"h4 upper\">Coordonnées</h2>
<div class=\" ";
// line 52
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["top-10 bottom-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'>Adresse :</label>
<p class=\"h5 semibold\">";
// line 54
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 56
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'>Adresse e-mail :</label>
<p class=\"h5 semibold\">";
// line 58
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, 58), "html", null, true);
echo "</p>
</div>
<div class=\"\">
<label class='h6'>Numéro de téléphone :</label>
<p class=\"h5 semibold\">";
// line 62
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, 62), "html", null, true);
echo "</p>
</div>
</div>
<div class=\"map w100 ";
// line 65
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["top-40"]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["top-25"]), "html", null, true);
echo "\">
<h3 class=\"h4 semibold upper bottom-20\">Localisation</h3>
<div class=\"w100 shadow hoverflow ";
// line 67
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!1d3964.3842860418763!2d2.3593907!3d6.4729116!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x1024a981367c79e7%3A0xf1630c240beb2ad6!2s%C3%89cole%20de%20Formation%20des%20Professions%20Judiciaires%20(EFPJ)!5e0!3m2!1sfr!2sbj!4v1669804747265!5m2!1sfr!2sbj\" style=\"border:0\" allowfullscreen=\"\" frameborder=\"0\"></iframe>
</div>
</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 ( 254 => 67, 247 => 65, 241 => 62, 234 => 58, 227 => 56, 222 => 54, 215 => 52, 207 => 49, 202 => 47, 195 => 43, 191 => 42, 185 => 41, 180 => 39, 173 => 37, 166 => 33, 159 => 31, 154 => 29, 147 => 27, 142 => 25, 135 => 23, 130 => 21, 123 => 19, 118 => 17, 111 => 15, 107 => 14, 102 => 13, 99 => 12, 97 => 11, 93 => 10, 89 => 9, 82 => 7, 75 => 6, 65 => 5, 54 => 4, 52 => 3, 50 => 2, 48 => 1, 35 => 4,);
}
public function getSourceContext()
{
return new Source("{% set title = 'Contactez-nous' %}
{% set menu = 'contacts' %}
{% set hasReCaptcha = true %}
{% extends 'Default/base.html.twig' %}
{% block content %}
<div id=\"contacts\" class='{{desktop(\"\")}} {{mobile(\"\")}}'>
<div class=\"fill hoverflow gpadding {{desktop('flex row vt-80-in')}} {{mobile('vt-30-in')}}\">
<div class=\"\">
{{include('Default/notice.html.twig')}}
{{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 h6'>Nom de famille</label>
{{form_widget(form.lName,{attr: {class:class, placeholder : \"Obligatoire\"}})}}
</div>
<div class='{{desktop(divClass)}} {{mobile(\"vt-20\")}}'>
<label class='upper h6'>Prénom</label>
{{form_widget(form.fName,{attr: {class:class, placeholder : \"Obligatoire\"}})}}
</div>
<div class='{{desktop(divClass)}} {{mobile(\"vt-20\")}}'>
<label class='upper h6'>Adresse email</label>
{{form_widget(form.email,{attr: {class:class, placeholder : \"Obligatoire\"}})}}
</div>
<div class='{{desktop(divClass)}} {{mobile(\"vt-20\")}}'>
<label class='upper h6'>Numéro de téléphone</label>
{{form_widget(form.phone,{attr: {class:class, placeholder : \"Optionnel\"}})}}
</div>
<div class='w100 {{desktop(\"vt-20\")}} {{mobile(\"vt-20\")}}'>
<label class='upper 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 white h6'>Contenu du message</label>
{{form_widget(form.content,{attr: {class:class, placeholder : \"Obligatoire\"}})}}
</div>
<div class='flex middle col center {{desktop(\"vt-20-in\")}} {{mobile(\"center\")}}'>
<div class=\"g-recaptcha\" data-sitekey=\"{{os_param('recaptcha')['key']}}\"></div>
<button type='submit' class=\"anim-btn relative flex col bg-white noborder radius-5 {{desktop('top-15')}}\">
<span class=\"upper semibold p vt-10-in hz-30-in success\">Envoyer</span>
</button>
</div>
{{form_end(form)}}
</div>
<div class='{{desktop(\"third_60 hz-60-in\")}} {{mobile(\"hz-30-in vt-30-in\")}}'>
<div class=\"\">
<h2 class=\"h4 upper\">Coordonnées</h2>
<div class=\" {{desktop(\"top-10 bottom-30\")}} {{mobile(\"vt-15\")}}\">
<label class='h6'>Adresse :</label>
<p class=\"h5 semibold\">{{os_param(\"address\")}}</p>
</div>
<div class=\" {{desktop(\"vt-30\")}} {{mobile(\"vt-15\")}}\">
<label class='h6'>Adresse e-mail :</label>
<p class=\"h5 semibold\">{{os_param(\"contacts\")[\"email\"]}}</p>
</div>
<div class=\"\">
<label class='h6'>Numéro de téléphone :</label>
<p class=\"h5 semibold\">{{os_param(\"contacts\")[\"phone\"]}}</p>
</div>
</div>
<div class=\"map w100 {{desktop('top-40')}} {{mobile('top-25')}}\">
<h3 class=\"h4 semibold upper bottom-20\">Localisation</h3>
<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!1d3964.3842860418763!2d2.3593907!3d6.4729116!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x1024a981367c79e7%3A0xf1630c240beb2ad6!2s%C3%89cole%20de%20Formation%20des%20Professions%20Judiciaires%20(EFPJ)!5e0!3m2!1sfr!2sbj!4v1669804747265!5m2!1sfr!2sbj\" style=\"border:0\" allowfullscreen=\"\" frameborder=\"0\"></iframe>
</div>
</div>
</div>
</div>
</div>
{% endblock %}
", "Default/contacts.html.twig", "/home/adminroot/www/templates/Default/contacts.html.twig");
}
}