<?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;
/* fiche/_includes/insertion-non-participant.html.twig */
class __TwigTemplate_e6e92c44e7d5c2d0761863159fc58dc2e2c1729656cf5f7de2dafd1d364c4df3 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", "fiche/_includes/insertion-non-participant.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "fiche/_includes/insertion-non-participant.html.twig"));
// line 1
if ((isset($context["formations"]) || array_key_exists("formations", $context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.', 1, $this->source); })())) {
// line 2
echo "<div class=\"fiche-module fiche-module-prospect formations\">
<h2>Formations</h2>
<ul>
";
// line 5
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["formations"]) || array_key_exists("formations", $context) ? $context["formations"] : (function () { throw new RuntimeError('Variable "formations" does not exist.', 5, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 6
echo " <li>
";
// line 7
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "identifiant", [], "any", false, false, false, 7));
echo "
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 10
echo " </ul>
</div>
";
}
// line 13
echo "
";
// line 14
if ((isset($context["langues"]) || array_key_exists("langues", $context) ? $context["langues"] : (function () { throw new RuntimeError('Variable "langues" does not exist.', 14, $this->source); })())) {
// line 15
echo "<div class=\"fiche-module fiche-module-prospect langues\">
<h2>Langues</h2>
<ul>
";
// line 18
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["langues"]) || array_key_exists("langues", $context) ? $context["langues"] : (function () { throw new RuntimeError('Variable "langues" does not exist.', 18, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["ItemsInsertion"]) {
// line 19
echo " <li>
";
// line 20
echo $this->extensions['App\Twig\ItemsInsertionExtension']->itemIdLibelle(twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "identifiant", [], "any", false, false, false, 20));
echo "
";
// line 21
if (twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 21)) {
echo " ";
echo twig_get_attribute($this->env, $this->source, $context["ItemsInsertion"], "texte", [], "any", false, false, false, 21);
echo " ";
}
// line 22
echo " </li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ItemsInsertion'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 24
echo " </ul>
</div>
";
}
// line 27
echo "
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "fiche/_includes/insertion-non-participant.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 110 => 27, 105 => 24, 98 => 22, 92 => 21, 88 => 20, 85 => 19, 81 => 18, 76 => 15, 74 => 14, 71 => 13, 66 => 10, 57 => 7, 54 => 6, 50 => 5, 45 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% if formations %}
<div class=\"fiche-module fiche-module-prospect formations\">
<h2>Formations</h2>
<ul>
{% for ItemsInsertion in formations %}
<li>
{{ ItemsInsertion.identifiant | itemIdLibelle | raw }}
</li>
{% endfor %}
</ul>
</div>
{% endif %}
{% if langues %}
<div class=\"fiche-module fiche-module-prospect langues\">
<h2>Langues</h2>
<ul>
{% for ItemsInsertion in langues %}
<li>
{{ ItemsInsertion.identifiant | itemIdLibelle | raw }}
{% if ItemsInsertion.texte %} {{ ItemsInsertion.texte | raw }} {% endif %}
</li>
{% endfor %}
</ul>
</div>
{% endif %}
", "fiche/_includes/insertion-non-participant.html.twig", "/app/templates/fiche/_includes/insertion-non-participant.html.twig");
}
}