<?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;
/* front/stage_academy/stage_academy_ajax.html.twig */
class __TwigTemplate_cdfa09b455e4cebb70c85650a65a3cc2 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_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/stage_academy/stage_academy_ajax.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/stage_academy/stage_academy_ajax.html.twig"));
// line 1
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["stages"]) || array_key_exists("stages", $context) ? $context["stages"] : (function () { throw new RuntimeError('Variable "stages" does not exist.', 1, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["stage"]) {
// line 2
echo " <div class=\"forma forma_stage\">
<div class=\"image\">
<a href=\"";
// line 4
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_stage_academie_details", ["slug" => twig_get_attribute($this->env, $this->source, $context["stage"], "slug", [], "any", false, false, false, 4)]), "html", null, true);
echo "\"><img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("uploads/" . twig_get_attribute($this->env, $this->source, $context["stage"], "image", [], "any", false, false, false, 4))), "html", null, true);
echo "\"></a>
<div class=\"prise\"><a href=\"";
// line 5
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_stage_academie_details", ["slug" => twig_get_attribute($this->env, $this->source, $context["stage"], "slug", [], "any", false, false, false, 5)]), "html", null, true);
echo "\">Prise en charge Formation</a></div>
</div>
<div class=\"conten-formation\">
<div class=\"title-content-formation\"><a href=\"";
// line 8
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_stage_academie_details", ["slug" => twig_get_attribute($this->env, $this->source, $context["stage"], "slug", [], "any", false, false, false, 8)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["stage"], "sub_title", [], "any", false, false, false, 8), "html", null, true);
echo " :</a></div>
<div class=\"location\"> <a href=\"";
// line 9
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page_stage_academie_details", ["slug" => twig_get_attribute($this->env, $this->source, $context["stage"], "slug", [], "any", false, false, false, 9)]), "html", null, true);
echo "\"> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["stage"], "title", [], "any", false, false, false, 9), "html", null, true);
echo " </a></div>
<div class=\"sperateur\"></div>
<div class=\"expert\">";
// line 11
echo twig_escape_filter($this->env, $this->extensions['App\Twig\CmsExtension']->excerpt(twig_get_attribute($this->env, $this->source, $context["stage"], "description", [], "any", false, false, false, 11), 100), "html", null, true);
echo "</div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['stage'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "front/stage_academy/stage_academy_ajax.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 76 => 11, 69 => 9, 63 => 8, 57 => 5, 51 => 4, 47 => 2, 43 => 1,);
}
public function getSourceContext()
{
return new Source("{% for stage in stages %}
<div class=\"forma forma_stage\">
<div class=\"image\">
<a href=\"{{ path('page_stage_academie_details', {slug: stage.slug}) }}\"><img src=\"{{ asset('uploads/'~stage.image) }}\"></a>
<div class=\"prise\"><a href=\"{{ path('page_stage_academie_details', {slug: stage.slug}) }}\">Prise en charge Formation</a></div>
</div>
<div class=\"conten-formation\">
<div class=\"title-content-formation\"><a href=\"{{ path('page_stage_academie_details', {slug: stage.slug}) }}\">{{ stage.sub_title }} :</a></div>
<div class=\"location\"> <a href=\"{{ path('page_stage_academie_details', {slug: stage.slug}) }}\"> {{ stage.title }} </a></div>
<div class=\"sperateur\"></div>
<div class=\"expert\">{{ stage.description|excerpt(100) }}</div>
</div>
</div>
{% endfor %}", "front/stage_academy/stage_academy_ajax.html.twig", "/home/saco/subdomains/preprod/templates/front/stage_academy/stage_academy_ajax.html.twig");
}
}