<?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;
/* annuaire/_includes/aide-au-choix-diplomes_professionnel.html.twig */
class __TwigTemplate_dbea7a20d46006a97fb38a9c8540761d81df5f75b92b4b214e7ffcd86381a3a3 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
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", "annuaire/_includes/aide-au-choix-diplomes_professionnel.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "annuaire/_includes/aide-au-choix-diplomes_professionnel.html.twig"));
// line 1
$context["etape0"] = (( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "query", [], "any", false, false, false, 1), "get", [0 => "filiere", 1 => null], "method", false, false, false, 1) && !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "query", [], "any", false, false, false, 1), "get", [0 => "diplome", 1 => null], "method", false, false, false, 1)) && (0 === twig_compare((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet", $context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.', 1, $this->source); })()), "tout")));
// line 2
$context["etape1"] = ((( !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "query", [], "any", false, false, false, 2), "get", [0 => "filiere", 1 => null], "method", false, false, false, 2) && !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 2, $this->source); })()), "request", [], "any", false, false, false, 2), "query", [], "any", false, false, false, 2), "get", [0 => "diplome", 1 => null], "method", false, false, false, 2)) && twig_in_filter((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet", $context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.', 2, $this->source); })()), [0 => "cap", 1 => "bac-pro", 2 => "formation-pro-continue"])) && (0 === twig_compare((isset($context["position"]) || array_key_exists("position", $context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.', 2, $this->source); })()), "header")));
// line 3
$context["etape2"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "query", [], "any", false, false, false, 3), "get", [0 => "filiere", 1 => null], "method", false, false, false, 3) && !twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 3, $this->source); })()), "request", [], "any", false, false, false, 3), "query", [], "any", false, false, false, 3), "get", [0 => "diplome", 1 => null], "method", false, false, false, 3)) && (0 === twig_compare((isset($context["position"]) || array_key_exists("position", $context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.', 3, $this->source); })()), "header")));
// line 4
$context["etape3"] = (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "query", [], "any", false, false, false, 4), "get", [0 => "filiere", 1 => null], "method", false, false, false, 4) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 4, $this->source); })()), "request", [], "any", false, false, false, 4), "query", [], "any", false, false, false, 4), "get", [0 => "diplome", 1 => null], "method", false, false, false, 4));
// line 5
$context["etape"] = ((((0 * (isset($context["etape0"]) || array_key_exists("etape0", $context) ? $context["etape0"] : (function () { throw new RuntimeError('Variable "etape0" does not exist.', 5, $this->source); })())) + (1 * (isset($context["etape1"]) || array_key_exists("etape1", $context) ? $context["etape1"] : (function () { throw new RuntimeError('Variable "etape1" does not exist.', 5, $this->source); })()))) + (2 * (isset($context["etape2"]) || array_key_exists("etape2", $context) ? $context["etape2"] : (function () { throw new RuntimeError('Variable "etape2" does not exist.', 5, $this->source); })()))) + (3 * (isset($context["etape3"]) || array_key_exists("etape3", $context) ? $context["etape3"] : (function () { throw new RuntimeError('Variable "etape3" does not exist.', 5, $this->source); })())));
echo "
";
// line 7
$context["idFiliere"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 7, $this->source); })()), "request", [], "any", false, false, false, 7), "query", [], "any", false, false, false, 7), "get", [0 => "filiere"], "method", false, false, false, 7));
// line 8
$context["idDiplome"] = twig_first($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 8, $this->source); })()), "request", [], "any", false, false, false, 8), "query", [], "any", false, false, false, 8), "get", [0 => "diplome"], "method", false, false, false, 8));
// line 9
$context["affichageBas"] = ((0 === twig_compare((isset($context["position"]) || array_key_exists("position", $context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.', 9, $this->source); })()), "footer")) && (0 === twig_compare((isset($context["etape"]) || array_key_exists("etape", $context) ? $context["etape"] : (function () { throw new RuntimeError('Variable "etape" does not exist.', 9, $this->source); })()), 3)));
// line 10
if ((isset($context["affichageBas"]) || array_key_exists("affichageBas", $context) ? $context["affichageBas"] : (function () { throw new RuntimeError('Variable "affichageBas" does not exist.', 10, $this->source); })())) {
// line 11
echo " ";
$context["hideMe"] = "d-none-important";
} else {
// line 13
echo " ";
$context["hideMe"] = "";
}
// line 15
echo "
";
// line 18
echo "
";
// line 19
if (((0 === twig_compare((isset($context["etape"]) || array_key_exists("etape", $context) ? $context["etape"] : (function () { throw new RuntimeError('Variable "etape" does not exist.', 19, $this->source); })()), 0)) && (0 === twig_compare((isset($context["position"]) || array_key_exists("position", $context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.', 19, $this->source); })()), "header")))) {
// line 20
echo "<div class=\"title-aide-dip collapsed\" data-bs-toggle=\"collapse\" data-bs-target=\"#stepDiplome\">Diplômes : Aide à l'orientation</div>
<div id=\"stepDiplome\" class=\"collapse p-4 mb-3 step-diplome ";
// line 21
echo twig_escape_filter($this->env, (isset($context["typeOnglet"]) || array_key_exists("typeOnglet", $context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.', 21, $this->source); })()), "html", null, true);
echo "\">
<div class=\"diplome-aide position-relative\">
<div class=\"stepwizard pt-2 pb-2 d-flex align-items-center flex-column flex-lg-row\">
<div class=\"steps setup-panel d-flex justify-content-between position-relative\">
<div class=\"stepwizard-step step1 text-center\">
";
// line 27
echo " <a href=\"#step-1\" type=\"button\" class=\"btn clicked position-relative\">
<strong class=\"btn1 position-relative\">1</strong>
<small class=\"d-flex one mt-4\">Niveau de formation</small>
</a>
</div>
<div class=\"stepwizard-step step2 text-center\">
<a href=\"#step-2\" type=\"button\" class=\"btn position-relative\" disabled=\"disabled\">
<strong class=\"btn2 position-relative\">2</strong>
<small class=\"d-flex two mt-4\">Filières</small>
</a>
</div>
<div class=\"stepwizard-step step3 text-center\">
<a href=\"#step-3\" type=\"button\" class=\"btn position-relative\" disabled=\"disabled\">
<strong class=\"btn3 position-relative\">3</strong>
<small class=\"d-flex justify-content-center three mt-4\">Diplômes</small>
</a>
</div>
</div>
</div>
<!-- Step 1 -->
<form role=\"diplome-choice\" action=\"\" method=\"post\" class=\"d-flex pl-5 pr-5 all-steps justify-content-center\">
<div class=\"setup-content\" id=\"step-1\">
<div class=\"\">
<h2 class=\"title font-weight-bold text-center pb-2\">Quel niveau de formation souhaitez-vous ?</h2>
<div class=\"d-flex justify-content-center\">
<div class=\"btn-group w-100 flex-wrap\" role=\"group\" aria-label=\"checkbox buttons\">
";
// line 53
if ((1 === twig_compare(twig_length_filter($this->env, twig_array_filter($this->env, (isset($context["idsFiltresContexte"]) || array_key_exists("idsFiltresContexte", $context) ? $context["idsFiltresContexte"] : (function () { throw new RuntimeError('Variable "idsFiltresContexte" does not exist.', 53, $this->source); })()), function ($__v__) use ($context, $macros) { $context["v"] = $__v__; return (is_string($__internal_compile_0 = (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 53, $this->source); })())) && is_string($__internal_compile_1 = "LYCPRO-CAP-") && ('' === $__internal_compile_1 || 0 === strpos($__internal_compile_0, $__internal_compile_1))); })), 0))) {
// line 54
echo " ";
$context["url"] = (((array_key_exists("lieu", $context) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["lieu"]) || array_key_exists("lieu", $context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.', 54, $this->source); })()), "slug", [], "any", false, false, false, 54), "default")))) ? ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annuaire_liste_par_onglet_localisation", ["niveauOnglet" => "cap", "typeOnglet" => "professionnel", "localisation" => twig_get_attribute($this->env, $this->source, // line 55
(isset($context["lieu"]) || array_key_exists("lieu", $context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.', 55, $this->source); })()), "slug", [], "any", false, false, false, 55)])) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annuaire_liste_par_onglet", ["niveauOnglet" => "cap", "typeOnglet" => "professionnel"])));
// line 57
echo " <a class=\"btn col-lg mb-3\" href=\"";
echo twig_escape_filter($this->env, (isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 57, $this->source); })()), "html", null, true);
echo "\">CAP</a>
";
}
// line 59
echo "
";
// line 60
if ((1 === twig_compare(twig_length_filter($this->env, twig_array_filter($this->env, (isset($context["idsFiltresContexte"]) || array_key_exists("idsFiltresContexte", $context) ? $context["idsFiltresContexte"] : (function () { throw new RuntimeError('Variable "idsFiltresContexte" does not exist.', 60, $this->source); })()), function ($__v__) use ($context, $macros) { $context["v"] = $__v__; return (is_string($__internal_compile_2 = (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 60, $this->source); })())) && is_string($__internal_compile_3 = "LYCPRO-BACP-") && ('' === $__internal_compile_3 || 0 === strpos($__internal_compile_2, $__internal_compile_3))); })), 0))) {
// line 61
echo " ";
$context["url"] = (((array_key_exists("lieu", $context) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["lieu"]) || array_key_exists("lieu", $context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.', 61, $this->source); })()), "slug", [], "any", false, false, false, 61), "default")))) ? ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annuaire_liste_par_onglet_localisation", ["niveauOnglet" => "bac-pro", "typeOnglet" => "professionnel", "localisation" => twig_get_attribute($this->env, $this->source, // line 62
(isset($context["lieu"]) || array_key_exists("lieu", $context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.', 62, $this->source); })()), "slug", [], "any", false, false, false, 62)])) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annuaire_liste_par_onglet", ["niveauOnglet" => "bac-pro", "typeOnglet" => "professionnel"])));
// line 64
echo " <a class=\"btn col-lg mb-3\" href=\"";
echo twig_escape_filter($this->env, (isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 64, $this->source); })()), "html", null, true);
echo "\">Bac Pro</a>
";
}
// line 66
echo "
";
// line 67
if ((1 === twig_compare(twig_length_filter($this->env, twig_array_filter($this->env, (isset($context["idsFiltresContexte"]) || array_key_exists("idsFiltresContexte", $context) ? $context["idsFiltresContexte"] : (function () { throw new RuntimeError('Variable "idsFiltresContexte" does not exist.', 67, $this->source); })()), function ($__v__) use ($context, $macros) { $context["v"] = $__v__; return (is_string($__internal_compile_4 = (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 67, $this->source); })())) && is_string($__internal_compile_5 = "LYCPRO-FPC-") && ('' === $__internal_compile_5 || 0 === strpos($__internal_compile_4, $__internal_compile_5))); })), 0))) {
// line 68
echo " ";
$context["url"] = (((array_key_exists("lieu", $context) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["lieu"]) || array_key_exists("lieu", $context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.', 68, $this->source); })()), "slug", [], "any", false, false, false, 68), "default")))) ? ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annuaire_liste_par_onglet_localisation", ["niveauOnglet" => "formation-pro-continue", "typeOnglet" => "professionnel", "localisation" => twig_get_attribute($this->env, $this->source, // line 69
(isset($context["lieu"]) || array_key_exists("lieu", $context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.', 69, $this->source); })()), "slug", [], "any", false, false, false, 69)])) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annuaire_liste_par_onglet", ["niveauOnglet" => "formation-pro-continue", "typeOnglet" => "professionnel"])));
// line 71
echo " <a class=\"btn col-lg\" href=\"";
echo twig_escape_filter($this->env, (isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 71, $this->source); })()), "html", null, true);
echo "\">Formation Pro Continue</a>
";
}
// line 73
echo "
</div>
</div>
</div>
</div>
</form>
</div>
</div>
";
} elseif ((0 === twig_compare( // line 82
(isset($context["etape"]) || array_key_exists("etape", $context) ? $context["etape"] : (function () { throw new RuntimeError('Variable "etape" does not exist.', 82, $this->source); })()), 1))) {
// line 83
echo "<div class=\"title-aide-dip collapsed\" data-bs-toggle=\"collapse\" data-bs-target=\"#stepDiplome\" aria-expanded=\"true\">Diplômes : Aide à l'orientation</div>
<div id=\"stepDiplome\" class=\"collapse p-4 mb-3 step-diplome ";
// line 84
echo twig_escape_filter($this->env, (isset($context["typeOnglet"]) || array_key_exists("typeOnglet", $context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.', 84, $this->source); })()), "html", null, true);
echo " show\">
<div class=\"diplome-aide position-relative\">
<div class=\"stepwizard pt-2 pb-2 d-flex align-items-center flex-column flex-lg-row\">
";
// line 90
echo " <div class=\"steps setup-panel d-flex justify-content-between position-relative\">
<div class=\"stepwizard-step step1 text-center\">
<a href=\"/onglet/professionnel\" type=\"button\" class=\"btn position-relative\">
<strong class=\"btn1 position-relative\">1</strong>
<small class=\"d-flex one mt-4\">Niveau de formation</small>
</a>
</div>
<div class=\"stepwizard-step step2 text-center\">
<a href=\"#\" type=\"button\" class=\"btn clicked position-relative\" disabled=\"disabled\">
<strong class=\"btn2 position-relative\">2</strong>
<small class=\"d-flex two mt-4\">Filières</small>
</a>
</div>
<div class=\"stepwizard-step step3 text-center\">
<a href=\"#step-3\" type=\"button\" class=\"btn position-relative\" disabled=\"disabled\">
<strong class=\"btn3 position-relative\">3</strong>
<small class=\"d-flex justify-content-center three mt-4\">Diplômes</small>
</a>
</div>
</div>
</div>
<!-- Step 2 -->
<form role=\"diplome-choice\" action=\"\" method=\"post\" class=\"d-flex pl-5 pr-5 all-steps justify-content-center\">
<div class=\"setup-content\" id=\"step-2\">
<div class=\"\">
<h2 class=\"title font-weight-bold text-center\">Quelles filières ";
// line 115
echo twig_escape_filter($this->env, $this->extensions['App\Twig\NiveauLibelleExtension']->niveauLibelle((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet", $context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.', 115, $this->source); })())), "html", null, true);
echo " envisagez-vous ?</h2>
<div class=\"d-flex justify-content-center\">
<div class=\"list-items\">
";
// line 119
echo " <ul class=\"card-three-columns\">
";
// line 120
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["filieres"]) || array_key_exists("filieres", $context) ? $context["filieres"] : (function () { throw new RuntimeError('Variable "filieres" does not exist.', 120, $this->source); })()));
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["_key"] => $context["filiere"]) {
// line 121
echo " ";
$context["url"] = (((array_key_exists("lieu", $context) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["lieu"]) || array_key_exists("lieu", $context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.', 121, $this->source); })()), "slug", [], "any", false, false, false, 121), "default")))) ? ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annuaire_liste_par_onglet_localisation", ["niveauOnglet" => // line 122
(isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet", $context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.', 122, $this->source); })()), "typeOnglet" => (isset($context["typeOnglet"]) || array_key_exists("typeOnglet", $context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.', 122, $this->source); })()), "localisation" => twig_get_attribute($this->env, $this->source, (isset($context["lieu"]) || array_key_exists("lieu", $context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.', 122, $this->source); })()), "slug", [], "any", false, false, false, 122)])) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annuaire_liste_par_onglet", ["niveauOnglet" => // line 123
(isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet", $context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.', 123, $this->source); })()), "typeOnglet" => (isset($context["typeOnglet"]) || array_key_exists("typeOnglet", $context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.', 123, $this->source); })())])));
// line 124
echo " <li class=\"position-relative step-diplome-li\"><a href=\"";
echo twig_escape_filter($this->env, (isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 124, $this->source); })()), "html", null, true);
echo "?filiere[]=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["filiere"], "id", [], "any", false, false, false, 124), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ItemsInsertionExtension']->itemsLibelle($context["filiere"]), "html", null, true);
echo "</a></li>
";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 126
echo " <style>
.list-description {
display: none;
}
</style>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['filiere'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 132
echo " </ul>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
";
} elseif (((0 === twig_compare( // line 141
(isset($context["etape"]) || array_key_exists("etape", $context) ? $context["etape"] : (function () { throw new RuntimeError('Variable "etape" does not exist.', 141, $this->source); })()), 2)) || ((0 === twig_compare((isset($context["etape"]) || array_key_exists("etape", $context) ? $context["etape"] : (function () { throw new RuntimeError('Variable "etape" does not exist.', 141, $this->source); })()), 3)) && (0 === twig_compare((isset($context["position"]) || array_key_exists("position", $context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.', 141, $this->source); })()), "footer"))))) {
// line 142
echo "<div class=\"title-aide-dip collapsed\" data-bs-toggle=\"collapse\" data-bs-target=\"#stepDiplome\" aria-expanded=\"true\">Diplômes : Aide à l'orientation</div>
<div id=\"stepDiplome\" class=\"collapse p-4 mb-3 step-diplome ";
// line 143
echo twig_escape_filter($this->env, (isset($context["typeOnglet"]) || array_key_exists("typeOnglet", $context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.', 143, $this->source); })()), "html", null, true);
echo " show\">
<div class=\"diplome-aide position-relative\">
<div class=\"stepwizard pt-2 pb-2 d-flex align-items-center flex-column flex-lg-row ";
// line 145
echo twig_escape_filter($this->env, (isset($context["hideMe"]) || array_key_exists("hideMe", $context) ? $context["hideMe"] : (function () { throw new RuntimeError('Variable "hideMe" does not exist.', 145, $this->source); })()), "html", null, true);
echo "\">
";
// line 149
echo " <div class=\"steps setup-panel d-flex justify-content-between position-relative\">
<div class=\"stepwizard-step step1 text-center\">
<a href=\"/onglet/professionnel\" type=\"button\" class=\"btn position-relative\">
<strong class=\"btn1 position-relative\">1</strong>
<small class=\"d-flex one mt-4\">Niveau de formation</small>
</a>
</div>
<div class=\"stepwizard-step step2 text-center\">
<a href=\"/onglet/professionnel/";
// line 157
echo twig_escape_filter($this->env, (isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet", $context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.', 157, $this->source); })()), "html", null, true);
echo "\" type=\"button\" class=\"btn position-relative\" disabled=\"disabled\">
<strong class=\"btn2 position-relative\">2</strong>
<small class=\"d-flex two mt-4\">Filières</small>
</a>
</div>
<div class=\"stepwizard-step step3 text-center\">
<a href=\"#step-3\" type=\"button\" class=\"btn clicked position-relative\" disabled=\"disabled\">
<strong class=\"btn3 position-relative\">3</strong>
<small class=\"d-flex justify-content-center three mt-4\">Diplômes</small>
</a>
</div>
</div>
</div>
<!-- Step 3 -->
<form role=\"diplome-choice\" action=\"\" method=\"post\" class=\"d-flex pl-5 pr-5 all-steps justify-content-center\">
<div class=\"setup-content\" id=\"step-3\">
<div class=\"\">
";
// line 175
echo " <h2 class=\"title font-weight-bold text-center\">Liste des <a href=\"/onglet/professionnel/";
echo twig_escape_filter($this->env, (isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet", $context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.', 175, $this->source); })()), "html", null, true);
echo "\" class=\"wizard-niveau-professionnel\">diplômes ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\NiveauLibelleExtension']->niveauLibelle((isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet", $context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.', 175, $this->source); })())), "html", null, true);
echo "</a> : ";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle((isset($context["idFiliere"]) || array_key_exists("idFiliere", $context) ? $context["idFiliere"] : (function () { throw new RuntimeError('Variable "idFiliere" does not exist.', 175, $this->source); })())), "html", null, true);
echo "</h2>
<p class=\"font-weight-bolder font-italic text-center ";
// line 176
echo twig_escape_filter($this->env, (isset($context["hideMe"]) || array_key_exists("hideMe", $context) ? $context["hideMe"] : (function () { throw new RuntimeError('Variable "hideMe" does not exist.', 176, $this->source); })()), "html", null, true);
echo "\">En sélectionnant l'un des diplômes ci-dessous, découvrez les établissements dispensant ce diplôme :</p>
<div class=\"d-flex justify-content-center\">
<div class=\"list-items\">
";
// line 180
echo " <ul class=\"card-three-columns\">
";
// line 181
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["diplomes"]) || array_key_exists("diplomes", $context) ? $context["diplomes"] : (function () { throw new RuntimeError('Variable "diplomes" does not exist.', 181, $this->source); })()));
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["_key"] => $context["diplome"]) {
// line 182
echo " <li class=\"position-relative step-diplome-li\">
";
// line 183
$context["url"] = (((array_key_exists("lieu", $context) && (0 !== twig_compare(twig_get_attribute($this->env, $this->source, (isset($context["lieu"]) || array_key_exists("lieu", $context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.', 183, $this->source); })()), "slug", [], "any", false, false, false, 183), "default")))) ? ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annuaire_liste_par_onglet_localisation", ["niveauOnglet" => // line 184
(isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet", $context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.', 184, $this->source); })()), "typeOnglet" => (isset($context["typeOnglet"]) || array_key_exists("typeOnglet", $context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.', 184, $this->source); })()), "localisation" => twig_get_attribute($this->env, $this->source, (isset($context["lieu"]) || array_key_exists("lieu", $context) ? $context["lieu"] : (function () { throw new RuntimeError('Variable "lieu" does not exist.', 184, $this->source); })()), "slug", [], "any", false, false, false, 184)])) : ($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("annuaire_liste_par_onglet", ["niveauOnglet" => // line 185
(isset($context["niveauOnglet"]) || array_key_exists("niveauOnglet", $context) ? $context["niveauOnglet"] : (function () { throw new RuntimeError('Variable "niveauOnglet" does not exist.', 185, $this->source); })()), "typeOnglet" => (isset($context["typeOnglet"]) || array_key_exists("typeOnglet", $context) ? $context["typeOnglet"] : (function () { throw new RuntimeError('Variable "typeOnglet" does not exist.', 185, $this->source); })())])));
// line 186
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["url"]) || array_key_exists("url", $context) ? $context["url"] : (function () { throw new RuntimeError('Variable "url" does not exist.', 186, $this->source); })()), "html", null, true);
echo "?filiere[]=";
echo twig_escape_filter($this->env, (isset($context["idFiliere"]) || array_key_exists("idFiliere", $context) ? $context["idFiliere"] : (function () { throw new RuntimeError('Variable "idFiliere" does not exist.', 186, $this->source); })()), "html", null, true);
echo "&diplome[]=";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["diplome"], "id", [], "any", false, false, false, 186), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $this->extensions['App\Twig\ItemsInsertionExtension']->itemsLibelle($context["diplome"]), "html", null, true);
echo " ";
if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["diplome"], "options", [], "any", false, false, false, 186))) {
echo " - ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["diplome"], "options", [], "any", false, false, false, 186), "html", null, true);
echo " ";
}
echo "</a>
</li>
";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 189
echo " <style>
.list-description {
display: none;
}
</style>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['diplome'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 195
echo " </ul>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
";
}
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "annuaire/_includes/aide-au-choix-diplomes_professionnel.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 369 => 195, 358 => 189, 337 => 186, 335 => 185, 334 => 184, 333 => 183, 330 => 182, 325 => 181, 322 => 180, 316 => 176, 307 => 175, 287 => 157, 277 => 149, 273 => 145, 268 => 143, 265 => 142, 263 => 141, 252 => 132, 241 => 126, 229 => 124, 227 => 123, 226 => 122, 224 => 121, 219 => 120, 216 => 119, 210 => 115, 183 => 90, 177 => 84, 174 => 83, 172 => 82, 161 => 73, 155 => 71, 153 => 69, 151 => 68, 149 => 67, 146 => 66, 140 => 64, 138 => 62, 136 => 61, 134 => 60, 131 => 59, 125 => 57, 123 => 55, 121 => 54, 119 => 53, 91 => 27, 83 => 21, 80 => 20, 78 => 19, 75 => 18, 72 => 15, 68 => 13, 64 => 11, 62 => 10, 60 => 9, 58 => 8, 56 => 7, 51 => 5, 49 => 4, 47 => 3, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% set etape0 = not app.request.query.get('filiere', null) and not app.request.query.get('diplome', null) and niveauOnglet == \"tout\" %}
{% set etape1 = not app.request.query.get('filiere', null) and not app.request.query.get('diplome', null) and niveauOnglet in ['cap', 'bac-pro', 'formation-pro-continue'] and position == \"header\" %}
{% set etape2 = app.request.query.get('filiere', null) and not app.request.query.get('diplome', null) and position == \"header\" %}
{% set etape3 = app.request.query.get('filiere', null) and app.request.query.get('diplome', null) %}
{% set etape = 0*etape0 + 1*etape1 + 2*etape2 + 3*etape3 %}
{% set idFiliere = app.request.query.get('filiere') | first %}
{% set idDiplome = app.request.query.get('diplome') | first %}
{% set affichageBas = position == 'footer' and etape == 3 %}
{% if affichageBas %}
{% set hideMe = \"d-none-important\" %}
{% else %}
{% set hideMe = \"\" %}
{% endif %}
{# ##ETAPE {{etape}}## position = {{position}} ### niveauOnglet = {{niveauOnglet}} ####
##{{etape0}}/{{etape1}}/{{etape2}}/{{etape3}}## #}
{% if etape == 0 and position == \"header\" %}
<div class=\"title-aide-dip collapsed\" data-bs-toggle=\"collapse\" data-bs-target=\"#stepDiplome\">Diplômes : Aide à l'orientation</div>
<div id=\"stepDiplome\" class=\"collapse p-4 mb-3 step-diplome {{ typeOnglet }}\">
<div class=\"diplome-aide position-relative\">
<div class=\"stepwizard pt-2 pb-2 d-flex align-items-center flex-column flex-lg-row\">
<div class=\"steps setup-panel d-flex justify-content-between position-relative\">
<div class=\"stepwizard-step step1 text-center\">
{# TODO ajout classe btn clicked pour le changement d'image hexagonal #}
<a href=\"#step-1\" type=\"button\" class=\"btn clicked position-relative\">
<strong class=\"btn1 position-relative\">1</strong>
<small class=\"d-flex one mt-4\">Niveau de formation</small>
</a>
</div>
<div class=\"stepwizard-step step2 text-center\">
<a href=\"#step-2\" type=\"button\" class=\"btn position-relative\" disabled=\"disabled\">
<strong class=\"btn2 position-relative\">2</strong>
<small class=\"d-flex two mt-4\">Filières</small>
</a>
</div>
<div class=\"stepwizard-step step3 text-center\">
<a href=\"#step-3\" type=\"button\" class=\"btn position-relative\" disabled=\"disabled\">
<strong class=\"btn3 position-relative\">3</strong>
<small class=\"d-flex justify-content-center three mt-4\">Diplômes</small>
</a>
</div>
</div>
</div>
<!-- Step 1 -->
<form role=\"diplome-choice\" action=\"\" method=\"post\" class=\"d-flex pl-5 pr-5 all-steps justify-content-center\">
<div class=\"setup-content\" id=\"step-1\">
<div class=\"\">
<h2 class=\"title font-weight-bold text-center pb-2\">Quel niveau de formation souhaitez-vous ?</h2>
<div class=\"d-flex justify-content-center\">
<div class=\"btn-group w-100 flex-wrap\" role=\"group\" aria-label=\"checkbox buttons\">
{% if idsFiltresContexte|filter(v => v starts with 'LYCPRO-CAP-')|length > 0 %}
{% set url = lieu is defined and lieu.slug != 'default' ?
path('annuaire_liste_par_onglet_localisation', {\"niveauOnglet\": 'cap', \"typeOnglet\": \"professionnel\", \"localisation\": lieu.slug}) :
path('annuaire_liste_par_onglet', {\"niveauOnglet\": 'cap', \"typeOnglet\": \"professionnel\"}) %}
<a class=\"btn col-lg mb-3\" href=\"{{url}}\">CAP</a>
{% endif %}
{% if idsFiltresContexte|filter(v => v starts with 'LYCPRO-BACP-')|length > 0 %}
{% set url = lieu is defined and lieu.slug != 'default' ?
path('annuaire_liste_par_onglet_localisation', {\"niveauOnglet\": 'bac-pro', \"typeOnglet\": \"professionnel\", \"localisation\": lieu.slug}) :
path('annuaire_liste_par_onglet', {\"niveauOnglet\": 'bac-pro', \"typeOnglet\": \"professionnel\"}) %}
<a class=\"btn col-lg mb-3\" href=\"{{url}}\">Bac Pro</a>
{% endif %}
{% if idsFiltresContexte|filter(v => v starts with 'LYCPRO-FPC-')|length > 0 %}
{% set url = lieu is defined and lieu.slug != 'default' ?
path('annuaire_liste_par_onglet_localisation', {\"niveauOnglet\": 'formation-pro-continue', \"typeOnglet\": \"professionnel\", \"localisation\": lieu.slug}) :
path('annuaire_liste_par_onglet', {\"niveauOnglet\": 'formation-pro-continue', \"typeOnglet\": \"professionnel\"}) %}
<a class=\"btn col-lg\" href=\"{{url}}\">Formation Pro Continue</a>
{% endif %}
</div>
</div>
</div>
</div>
</form>
</div>
</div>
{% elseif etape == 1 %}
<div class=\"title-aide-dip collapsed\" data-bs-toggle=\"collapse\" data-bs-target=\"#stepDiplome\" aria-expanded=\"true\">Diplômes : Aide à l'orientation</div>
<div id=\"stepDiplome\" class=\"collapse p-4 mb-3 step-diplome {{ typeOnglet }} show\">
<div class=\"diplome-aide position-relative\">
<div class=\"stepwizard pt-2 pb-2 d-flex align-items-center flex-column flex-lg-row\">
{#
<div class=\"font-weight-bold color\"><span class=\"title\">Diplômes : </span>Aide à l'orientation</div>
#}
<div class=\"steps setup-panel d-flex justify-content-between position-relative\">
<div class=\"stepwizard-step step1 text-center\">
<a href=\"/onglet/professionnel\" type=\"button\" class=\"btn position-relative\">
<strong class=\"btn1 position-relative\">1</strong>
<small class=\"d-flex one mt-4\">Niveau de formation</small>
</a>
</div>
<div class=\"stepwizard-step step2 text-center\">
<a href=\"#\" type=\"button\" class=\"btn clicked position-relative\" disabled=\"disabled\">
<strong class=\"btn2 position-relative\">2</strong>
<small class=\"d-flex two mt-4\">Filières</small>
</a>
</div>
<div class=\"stepwizard-step step3 text-center\">
<a href=\"#step-3\" type=\"button\" class=\"btn position-relative\" disabled=\"disabled\">
<strong class=\"btn3 position-relative\">3</strong>
<small class=\"d-flex justify-content-center three mt-4\">Diplômes</small>
</a>
</div>
</div>
</div>
<!-- Step 2 -->
<form role=\"diplome-choice\" action=\"\" method=\"post\" class=\"d-flex pl-5 pr-5 all-steps justify-content-center\">
<div class=\"setup-content\" id=\"step-2\">
<div class=\"\">
<h2 class=\"title font-weight-bold text-center\">Quelles filières {{niveauOnglet | niveauLibelle}} envisagez-vous ?</h2>
<div class=\"d-flex justify-content-center\">
<div class=\"list-items\">
{# TODO à dynamiser niveau de formation #}
<ul class=\"card-three-columns\">
{% for filiere in filieres %}
{% set url = lieu is defined and lieu.slug != 'default' ?
path('annuaire_liste_par_onglet_localisation', {\"niveauOnglet\": niveauOnglet, \"typeOnglet\": typeOnglet, \"localisation\": lieu.slug}) :
path('annuaire_liste_par_onglet', {\"niveauOnglet\": niveauOnglet, \"typeOnglet\": typeOnglet}) %}
<li class=\"position-relative step-diplome-li\"><a href=\"{{url}}?filiere[]={{filiere.id}}\">{{filiere | itemsLibelle}}</a></li>
{% else %}
<style>
.list-description {
display: none;
}
</style>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
{% elseif etape == 2 or (etape == 3 and position == \"footer\") %}
<div class=\"title-aide-dip collapsed\" data-bs-toggle=\"collapse\" data-bs-target=\"#stepDiplome\" aria-expanded=\"true\">Diplômes : Aide à l'orientation</div>
<div id=\"stepDiplome\" class=\"collapse p-4 mb-3 step-diplome {{ typeOnglet }} show\">
<div class=\"diplome-aide position-relative\">
<div class=\"stepwizard pt-2 pb-2 d-flex align-items-center flex-column flex-lg-row {{hideMe}}\">
{#
<div class=\"font-weight-bold color\"><span class=\"title\">Diplômes : </span>Aide à l'orientation</div>
#}
<div class=\"steps setup-panel d-flex justify-content-between position-relative\">
<div class=\"stepwizard-step step1 text-center\">
<a href=\"/onglet/professionnel\" type=\"button\" class=\"btn position-relative\">
<strong class=\"btn1 position-relative\">1</strong>
<small class=\"d-flex one mt-4\">Niveau de formation</small>
</a>
</div>
<div class=\"stepwizard-step step2 text-center\">
<a href=\"/onglet/professionnel/{{niveauOnglet}}\" type=\"button\" class=\"btn position-relative\" disabled=\"disabled\">
<strong class=\"btn2 position-relative\">2</strong>
<small class=\"d-flex two mt-4\">Filières</small>
</a>
</div>
<div class=\"stepwizard-step step3 text-center\">
<a href=\"#step-3\" type=\"button\" class=\"btn clicked position-relative\" disabled=\"disabled\">
<strong class=\"btn3 position-relative\">3</strong>
<small class=\"d-flex justify-content-center three mt-4\">Diplômes</small>
</a>
</div>
</div>
</div>
<!-- Step 3 -->
<form role=\"diplome-choice\" action=\"\" method=\"post\" class=\"d-flex pl-5 pr-5 all-steps justify-content-center\">
<div class=\"setup-content\" id=\"step-3\">
<div class=\"\">
{# TODO à dynamiser nom du diplôme #}
<h2 class=\"title font-weight-bold text-center\">Liste des <a href=\"/onglet/professionnel/{{niveauOnglet}}\" class=\"wizard-niveau-professionnel\">diplômes {{niveauOnglet | niveauLibelle}}</a> : {{ idFiliere | itemIdLibelle}}</h2>
<p class=\"font-weight-bolder font-italic text-center {{hideMe}}\">En sélectionnant l'un des diplômes ci-dessous, découvrez les établissements dispensant ce diplôme :</p>
<div class=\"d-flex justify-content-center\">
<div class=\"list-items\">
{# TODO à dynamiser liste diplômes #}
<ul class=\"card-three-columns\">
{% for diplome in diplomes %}
<li class=\"position-relative step-diplome-li\">
{% set url = lieu is defined and lieu.slug != 'default' ?
path('annuaire_liste_par_onglet_localisation', {\"niveauOnglet\": niveauOnglet, \"typeOnglet\": typeOnglet, \"localisation\": lieu.slug}) :
path('annuaire_liste_par_onglet', {\"niveauOnglet\": niveauOnglet, \"typeOnglet\": typeOnglet}) %}
<a href=\"{{ url }}?filiere[]={{idFiliere}}&diplome[]={{diplome.id}}\">{{diplome | itemsLibelle}} {% if diplome.options is not empty %} - {{ diplome.options }} {% endif %}</a>
</li>
{% else %}
<style>
.list-description {
display: none;
}
</style>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
{% endif %}
", "annuaire/_includes/aide-au-choix-diplomes_professionnel.html.twig", "/app/templates/annuaire/_includes/aide-au-choix-diplomes_professionnel.html.twig");
}
}