<?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/registration.html.twig */
class __TwigTemplate_9d0250533f60633cab8febbb4c308311cb0aa40407b59818c7f997ef618780c8 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'titlebox' => [$this, 'block_titlebox'],
'body' => [$this, 'block_body'],
'banner' => [$this, 'block_banner'],
];
}
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/registration.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/registration.html.twig"));
// line 1
$context["title"] = "Pré-inscription";
// line 2
$context["menu"] = "formations";
// line 3
$context["bgcolor"] = "bg-gray";
// line 5
$macros["macros"] = $this->macros["macros"] = $this->loadTemplate("Admin/macros.html.twig", "Default/registration.html.twig", 5)->unwrap();
// line 4
$this->parent = $this->loadTemplate("Default/base.html.twig", "Default/registration.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 7
public function block_titlebox($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", "titlebox"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "titlebox"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 10
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"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 13
public function block_banner($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", "banner"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "banner"));
// line 14
echo "<div id=\"contacts\" class='htop-in ";
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='relative w100 flex col gpadding ";
// line 16
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["top-40-in"]), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('mobile')->getCallable(), [""]), "html", null, true);
echo "'>
<i class=\"vt-5-in bg-white quarter-80 radius-5\"></i>
<h1 class='success h2'>";
// line 18
echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 18, $this->source); })()), "html", null, true);
echo "</h1>
</div>
<div class=\"fill hoverflow gpadding ";
// line 21
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["flex row vt-60-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 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" => (("relative w100 " . call_user_func_array($this->env->getFunction('desktop')->getCallable(), [""])) . call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["top-1-in bottom-25-in hz-25-in"]))]]);
echo "
";
// line 24
$context["class"] = (("relative w100 h6 text-left noradius border-bottom border-solid border-gray-alt border-1x nobg black " . 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 25
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 26
echo "
";
// line 27
$context["h2Class"] = (("h3 success semibold upper " . call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["bottom-10"])) . call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["bottom-5 "]));
// line 28
echo " ";
$context["groupClass"] = (("w100 bg-white shadow " . call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["flex row space wrap hz-60-in bottom-40 vt-40-in "])) . call_user_func_array($this->env->getFunction('mobile')->getCallable(), ["hz-20-in vt-10-in bottom-20 "]));
// line 29
echo " ";
$context["descClass"] = (("border-left border-5x border-success-alt border-solid bg-gray success shadow " . call_user_func_array($this->env->getFunction('desktop')->getCallable(), [" hz-40-in vt-20-in "])) . call_user_func_array($this->env->getFunction('mobile')->getCallable(), [" hz-15-in vt-10-in "]));
// line 30
echo "
<h2 class=\"";
// line 32
echo twig_escape_filter($this->env, (isset($context["h2Class"]) || array_key_exists("h2Class", $context) ? $context["h2Class"] : (function () { throw new RuntimeError('Variable "h2Class" does not exist.', 32, $this->source); })()), "html", null, true);
echo "\">Votre identité</h2>
<div class=\"";
// line 33
echo twig_escape_filter($this->env, (isset($context["descClass"]) || array_key_exists("descClass", $context) ? $context["descClass"] : (function () { throw new RuntimeError('Variable "descClass" does not exist.', 33, $this->source); })()), "html", null, true);
echo "\">
<ul>
<li>
Merci d'indiquer vos coordonnées et nous allons vous recontacter pour plus de renseignements.
</li>
<li class=\"\">
Offres de formations ouvertes à tous les fonctionnaires territoriaux
</li>
<li>
Inscription obligatoire, 1 mois avant la date de formation au plus tard
</li>
</ul>
</div>
<div class='";
// line 46
echo twig_escape_filter($this->env, (isset($context["groupClass"]) || array_key_exists("groupClass", $context) ? $context["groupClass"] : (function () { throw new RuntimeError('Variable "groupClass" does not exist.', 46, $this->source); })()), "html", null, true);
echo "'>
<div class='w100 white ";
// line 47
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=\"w100 relative\">
<div class='relative ";
// line 49
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.', 49, $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'>Civilité</label>
";
// line 51
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.', 51, $this->source); })()), "sex", [], "any", false, false, false, 51), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 51, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<i></i>
</div>
<div class='";
// line 55
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.', 55, $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 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); })()), "fname", [], "any", false, false, false, 57), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 57, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<div class='";
// line 59
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.', 59, $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 61
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.', 61, $this->source); })()), "lname", [], "any", false, false, false, 61), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 61, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<div class='";
// line 63
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.', 63, $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 65
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.', 65, $this->source); })()), "email", [], "any", false, false, false, 65), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 65, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<div class='";
// line 67
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.', 67, $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 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); })()), "phone", [], "any", false, false, false, 69), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 69, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<div class='";
// line 71
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.', 71, $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'>Fonction occupée</label>
";
// line 73
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.', 73, $this->source); })()), "profession", [], "any", false, false, false, 73), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 73, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
<div class='";
// line 75
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.', 75, $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'>Structure rattachée</label>
";
// line 77
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.', 77, $this->source); })()), "company", [], "any", false, false, false, 77), 'widget', ["attr" => ["class" => (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 77, $this->source); })()), "placeholder" => "Obligatoire"]]);
echo "
</div>
</div>
</div>
<h2 class=\"";
// line 82
echo twig_escape_filter($this->env, (isset($context["h2Class"]) || array_key_exists("h2Class", $context) ? $context["h2Class"] : (function () { throw new RuntimeError('Variable "h2Class" does not exist.', 82, $this->source); })()), "html", null, true);
echo "\">Votre formation</h2>
<div class=\"";
// line 83
echo twig_escape_filter($this->env, (isset($context["descClass"]) || array_key_exists("descClass", $context) ? $context["descClass"] : (function () { throw new RuntimeError('Variable "descClass" does not exist.', 83, $this->source); })()), "html", null, true);
echo "\">
Deux types de formations offertes :
<ul class=\"light left-40\">
<li>
Formation continue de perfectionnement : (Durée : 10-15 jours et animation d’un ensemble de 5-7 modules)
</li>
<li>
Formation continue qualifiante : (Durée : 3-5 jours et animation d’un (01) module de formation
</li>
</ul>
<span class=\"block vt-20\">Possibilités de formations continues à la carte (in situ), sur demande des Communes</span>
Les frais de formation couvrent : - la formation
<ul class=\"light left-40\">
<li>
la restauration (2 pauses-café + 1 dejeuner / jour)
</li>
<li>
le support didactique
</li>
</ul>
</div>
<div class='";
// line 105
echo twig_escape_filter($this->env, (isset($context["groupClass"]) || array_key_exists("groupClass", $context) ? $context["groupClass"] : (function () { throw new RuntimeError('Variable "groupClass" does not exist.', 105, $this->source); })()), "html", null, true);
echo "'>
<div class='w100 ";
// line 106
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=\"w100 relative\">
<div class='relative ";
// line 108
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["w100 vt-10"]), "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'>Formation désirée :</label>
";
// line 110
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.', 110, $this->source); })()), "formation", [], "any", false, false, false, 110), 'widget', ["attr" => ["class" => ((isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 110, $this->source); })()) . " os-select"), "data-target" => ("#thematics,#" . twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 110, $this->source); })()), "session", [], "any", false, false, false, 110), "vars", [], "any", false, false, false, 110), "id", [], "any", false, false, false, 110)), "placeholder" => "Obligatoire"]]);
echo "
</div>
</div>
<div class=\"w100 relative\">
<div class='relative ";
// line 114
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["w100 vt-10"]), "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'>Session désirée :</label>
";
// line 116
$context["field"] = 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.', 116, $this->source); })()), "session", [], "any", false, false, false, 116);
// line 117
echo " <select class=\"";
echo twig_escape_filter($this->env, (isset($context["class"]) || array_key_exists("class", $context) ? $context["class"] : (function () { throw new RuntimeError('Variable "class" does not exist.', 117, $this->source); })()), "html", null, true);
echo "\" id=\"thematics\">
<option value=\"\" ";
// line 118
echo ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 118, $this->source); })()), "vars", [], "any", false, false, false, 118), "value", [], "any", false, false, false, 118)) ? ("") : ("selected"));
echo ">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 118, $this->source); })()), "vars", [], "any", false, false, false, 118), "placeholder", [], "any", false, false, false, 118), "html", null, true);
echo "</option>
";
// line 119
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 119, $this->source); })()), "vars", [], "any", false, false, false, 119), "choices", [], "any", false, false, false, 119));
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 120
echo " <option class=\"\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["o"], "value", [], "any", false, false, false, 120), "html", null, true);
echo "\" data-ref=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["o"], "data", [], "any", false, false, false, 120), "formation", [], "any", false, false, false, 120), "id", [], "any", false, false, false, 120), "html", null, true);
echo "\" ";
echo (((0 === twig_compare(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 120, $this->source); })()), "vars", [], "any", false, false, false, 120), "value", [], "any", false, false, false, 120), twig_get_attribute($this->env, $this->source, $context["o"], "value", [], "any", false, false, false, 120)))) ? ("selected") : (""));
echo ">
";
// line 121
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["o"], "label", [], "any", false, false, false, 121), "html", null, true);
echo " | ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('frdate')->getCallable(), [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["o"], "data", [], "any", false, false, false, 121), "startingDate", [], "any", false, false, false, 121)]), "html", null, true);
echo " au ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFilter('frdate')->getCallable(), [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["o"], "data", [], "any", false, false, false, 121), "endDate", [], "any", false, false, false, 121)]), "html", null, true);
echo "</strong>
</option>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 124
echo " </select>
";
// line 125
twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 125, $this->source); })()), "setRendered", [], "method", false, false, false, 125);
// line 126
echo " </div>
</div>
<div class='";
// line 128
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(), ["vt-20"]), "html", null, true);
echo "'>
<label class='upper success-alt h6'>Thématiques souhaitées :</label>
<div class=\"flex row space wrap w100\" id=\"thematics\">
";
// line 131
$context["field"] = 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.', 131, $this->source); })()), "thematics", [], "any", false, false, false, 131);
// line 132
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 132, $this->source); })()), "thematics", [], "any", false, false, false, 132), "vars", [], "any", false, false, false, 132), "choices", [], "any", false, false, false, 132));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["o"]) {
// line 133
echo " ";
$context["checked"] = ((twig_in_filter(twig_get_attribute($this->env, $this->source, $context["o"], "value", [], "any", false, false, false, 133), twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 133, $this->source); })()), "vars", [], "any", false, false, false, 133), "value", [], "any", false, false, false, 133))) ? (true) : (false));
// line 134
echo " <div class=\"relative flex row top vt-10-in ";
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["half-20"]), "html", null, true);
echo "\" data-ref=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["o"], "data", [], "any", false, false, false, 134), "formation", [], "any", false, false, false, 134), "id", [], "any", false, false, false, 134), "html", null, true);
echo "\">
<div class=\"relative\">
<input class=\"hide\" type=\"checkbox\" name=\"";
// line 136
echo twig_escape_filter($this->env, (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 136, $this->source); })()), "vars", [], "any", false, false, false, 136), "full_name", [], "any", false, false, false, 136) . "[]"), "html", null, true);
echo "\" id=\"";
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 136, $this->source); })()), "vars", [], "any", false, false, false, 136), "id", [], "any", false, false, false, 136) . "_") . twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 136)), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["o"], "value", [], "any", false, false, false, 136), "html", null, true);
echo "\" ";
echo (((array_key_exists("checked", $context) && (isset($context["checked"]) || array_key_exists("checked", $context) ? $context["checked"] : (function () { throw new RuntimeError('Variable "checked" does not exist.', 136, $this->source); })()))) ? ("checked") : (""));
echo ">
<label class=\"icon min block relative\" for=\"";
// line 137
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 137, $this->source); })()), "vars", [], "any", false, false, false, 137), "id", [], "any", false, false, false, 137) . "_") . twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 137)), "html", null, true);
echo "\"></label>
</div>
<div class=\"flex col\">
<label class=\"top-5\" for=\"";
// line 140
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 140, $this->source); })()), "vars", [], "any", false, false, false, 140), "id", [], "any", false, false, false, 140) . "_") . twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 140)), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["o"], "label", [], "any", false, false, false, 140), "html", null, true);
echo "</label>
";
// line 141
$context["o"] = twig_get_attribute($this->env, $this->source, $context["o"], "data", [], "any", false, false, false, 141);
// line 142
echo " <span class=\"p-alt regular upper black-alt\">";
((twig_get_attribute($this->env, $this->source, $context["o"], "domain", [], "any", false, false, false, 142)) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["o"], "domain", [], "any", false, false, false, 142), "label", [], "any", false, false, false, 142), "html", null, true))) : (print ("")));
echo "</span>
<span class=\"p-alt success\">Coût : ";
// line 143
(((twig_get_attribute($this->env, $this->source, $context["o"], "cost", [], "any", true, true, false, 143) && !(null === twig_get_attribute($this->env, $this->source, $context["o"], "cost", [], "any", false, false, false, 143)))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["o"], "cost", [], "any", false, false, false, 143), "html", null, true))) : (print ("Non défini")));
echo "</span>
<span class=\"p-alt success\">Durée : ";
// line 144
(((twig_get_attribute($this->env, $this->source, $context["o"], "duration", [], "any", true, true, false, 144) && !(null === twig_get_attribute($this->env, $this->source, $context["o"], "duration", [], "any", false, false, false, 144)))) ? (print (twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["o"], "duration", [], "any", false, false, false, 144), "html", null, true))) : (print ("Non défini")));
echo "</span>
</div>
</div>
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['o'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 148
echo " ";
twig_get_attribute($this->env, $this->source, (isset($context["field"]) || array_key_exists("field", $context) ? $context["field"] : (function () { throw new RuntimeError('Variable "field" does not exist.', 148, $this->source); })()), "setRendered", [], "method", false, false, false, 148);
// line 149
echo " </div>
</div>
</div>
</div>
<div class='bg-success-alt ";
// line 153
echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('desktop')->getCallable(), ["flex row space padding-60 top-40"]), "html", null, true);
echo " w100'>
<div class='w100 flex row center'>
<button type='submit' class=\"anim-btn relative flex col bg-white noborder radius-5\">
<span class=\"upper semibold h5 vt-10-in hz-30-in success\">Soumettre ma pré-inscription</span>
</button>
</div>
</div>
";
// line 160
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.', 160, $this->source); })()), 'form_end');
echo "
</div>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "Default/registration.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 501 => 160, 491 => 153, 485 => 149, 482 => 148, 464 => 144, 460 => 143, 455 => 142, 453 => 141, 447 => 140, 441 => 137, 431 => 136, 423 => 134, 420 => 133, 402 => 132, 400 => 131, 392 => 128, 388 => 126, 386 => 125, 383 => 124, 370 => 121, 361 => 120, 357 => 119, 351 => 118, 346 => 117, 344 => 116, 337 => 114, 330 => 110, 323 => 108, 318 => 106, 314 => 105, 289 => 83, 285 => 82, 277 => 77, 270 => 75, 265 => 73, 258 => 71, 253 => 69, 246 => 67, 241 => 65, 234 => 63, 229 => 61, 222 => 59, 217 => 57, 210 => 55, 203 => 51, 196 => 49, 191 => 47, 187 => 46, 171 => 33, 167 => 32, 163 => 30, 160 => 29, 157 => 28, 155 => 27, 152 => 26, 149 => 25, 147 => 24, 143 => 23, 136 => 21, 130 => 18, 123 => 16, 115 => 14, 105 => 13, 87 => 10, 69 => 7, 58 => 4, 56 => 5, 54 => 3, 52 => 2, 50 => 1, 37 => 4,);
}
public function getSourceContext()
{
return new Source("{% set title = 'Pré-inscription' %}
{% set menu = 'formations' %}
{% set bgcolor = 'bg-gray' %}
{% extends 'Default/base.html.twig' %}
{% import \"Admin/macros.html.twig\" as macros %}
{% block titlebox %}
{% endblock titlebox %}
{% block body %}
{% endblock body %}
{% block banner %}
<div id=\"contacts\" class='htop-in {{desktop(\"\")}} {{mobile(\"\")}}'>
<div class='relative w100 flex col gpadding {{desktop(\"top-40-in\")}} {{mobile(\"\")}}'>
<i class=\"vt-5-in bg-white quarter-80 radius-5\"></i>
<h1 class='success h2'>{{title}}</h1>
</div>
<div class=\"fill hoverflow gpadding {{desktop('flex row vt-60-in')}} {{mobile('vt-30-in')}}\">
<div class=\"\">
{{form_start(form, {'attr':{'class':'relative w100 '~desktop(\"\")~mobile(\"top-1-in bottom-25-in hz-25-in\")}})}}
{% set class = 'relative w100 h6 text-left noradius border-bottom border-solid border-gray-alt border-1x nobg black '~desktop(\" vt-15-in bottom-20 \")~mobile(\" vt-10-in hz-15-in\") %}
{% set divClass = ''~desktop(\"half-20 vt-10 \")~mobile(\"vt-10 \") %}
{% set h2Class = 'h3 success semibold upper '~desktop(\"bottom-10\")~mobile(\"bottom-5 \") %}
{% set groupClass = 'w100 bg-white shadow '~desktop(\"flex row space wrap hz-60-in bottom-40 vt-40-in \")~mobile(\"hz-20-in vt-10-in bottom-20 \") %}
{% set descClass = 'border-left border-5x border-success-alt border-solid bg-gray success shadow '~desktop(\" hz-40-in vt-20-in \")~mobile(\" hz-15-in vt-10-in \") %}
<h2 class=\"{{h2Class}}\">Votre identité</h2>
<div class=\"{{descClass}}\">
<ul>
<li>
Merci d'indiquer vos coordonnées et nous allons vous recontacter pour plus de renseignements.
</li>
<li class=\"\">
Offres de formations ouvertes à tous les fonctionnaires territoriaux
</li>
<li>
Inscription obligatoire, 1 mois avant la date de formation au plus tard
</li>
</ul>
</div>
<div class='{{groupClass}}'>
<div class='w100 white {{desktop(\"flex row space wrap\")}}'>
<div class=\"w100 relative\">
<div class='relative {{desktop(divClass)}} {{mobile(\"vt-20\")}}'>
<label class='upper success-alt h6'>Civilité</label>
{{form_widget(form.sex,{attr: {class:class, placeholder : \"Obligatoire\"}})}}
</div>
<i></i>
</div>
<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='{{desktop(divClass)}} {{mobile(\"vt-20\")}}'>
<label class='upper success-alt h6'>Fonction occupée</label>
{{form_widget(form.profession,{attr: {class:class, placeholder : \"Obligatoire\"}})}}
</div>
<div class='{{desktop(divClass)}} {{mobile(\"vt-20\")}}'>
<label class='upper success-alt h6'>Structure rattachée</label>
{{form_widget(form.company,{attr: {class:class, placeholder : \"Obligatoire\"}})}}
</div>
</div>
</div>
<h2 class=\"{{h2Class}}\">Votre formation</h2>
<div class=\"{{descClass}}\">
Deux types de formations offertes :
<ul class=\"light left-40\">
<li>
Formation continue de perfectionnement : (Durée : 10-15 jours et animation d’un ensemble de 5-7 modules)
</li>
<li>
Formation continue qualifiante : (Durée : 3-5 jours et animation d’un (01) module de formation
</li>
</ul>
<span class=\"block vt-20\">Possibilités de formations continues à la carte (in situ), sur demande des Communes</span>
Les frais de formation couvrent : - la formation
<ul class=\"light left-40\">
<li>
la restauration (2 pauses-café + 1 dejeuner / jour)
</li>
<li>
le support didactique
</li>
</ul>
</div>
<div class='{{groupClass}}'>
<div class='w100 {{desktop(\"flex row space wrap\")}}'>
<div class=\"w100 relative\">
<div class='relative {{desktop('w100 vt-10')}} {{mobile(\"vt-20\")}}'>
<label class='upper success-alt h6'>Formation désirée :</label>
{{form_widget(form.formation,{attr: {class:class~' os-select', 'data-target':\"#thematics,#\"~form.session.vars.id, placeholder : \"Obligatoire\"}})}}
</div>
</div>
<div class=\"w100 relative\">
<div class='relative {{desktop('w100 vt-10')}} {{mobile(\"vt-20\")}}'>
<label class='upper success-alt h6'>Session désirée :</label>
{% set field = form.session %}
<select class=\"{{class}}\" id=\"thematics\">
<option value=\"\" {{ field.vars.value ? \"\" : \"selected\"}}>{{field.vars.placeholder}}</option>
{% for o in field.vars.choices %}
<option class=\"\" value=\"{{o.value}}\" data-ref=\"{{o.data.formation.id}}\" {{field.vars.value == o.value ? \"selected\"}}>
{{o.label}} | {{o.data.startingDate|frdate}} au {{o.data.endDate|frdate}}</strong>
</option>
{% endfor %}
</select>
{% do field.setRendered() %}
</div>
</div>
<div class='{{desktop('')}} {{mobile(\"vt-20\")}}'>
<label class='upper success-alt h6'>Thématiques souhaitées :</label>
<div class=\"flex row space wrap w100\" id=\"thematics\">
{% set field = form.thematics %}
{% for o in form.thematics.vars.choices %}
{% set checked = (o.value in field.vars.value) ? true : false %}
<div class=\"relative flex row top vt-10-in {{desktop('half-20')}}\" data-ref=\"{{o.data.formation.id}}\">
<div class=\"relative\">
<input class=\"hide\" type=\"checkbox\" name=\"{{ field.vars.full_name~'[]' }}\" id=\"{{field.vars.id~'_'~loop.index}}\" value=\"{{o.value}}\" {{ checked is defined and checked ? \"checked\" }}>
<label class=\"icon min block relative\" for=\"{{field.vars.id~'_'~loop.index}}\"></label>
</div>
<div class=\"flex col\">
<label class=\"top-5\" for=\"{{field.vars.id~'_'~loop.index}}\">{{o.label}}</label>
{% set o = o.data %}
<span class=\"p-alt regular upper black-alt\">{{o.domain ? o.domain.label}}</span>
<span class=\"p-alt success\">Coût : {{o.cost ?? \"Non défini\"}}</span>
<span class=\"p-alt success\">Durée : {{o.duration ?? \"Non défini\"}}</span>
</div>
</div>
{% endfor %}
{% do field.setRendered() %}
</div>
</div>
</div>
</div>
<div class='bg-success-alt {{desktop(\"flex row space padding-60 top-40\")}} w100'>
<div class='w100 flex row center'>
<button type='submit' class=\"anim-btn relative flex col bg-white noborder radius-5\">
<span class=\"upper semibold h5 vt-10-in hz-30-in success\">Soumettre ma pré-inscription</span>
</button>
</div>
</div>
{{form_end(form)}}
</div>
</div>
</div>
{% endblock %}
", "Default/registration.html.twig", "/home/olasoftnka/cefal/templates/Default/registration.html.twig");
}
}