<?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;
/* homepartenaires.html.twig */
class __TwigTemplate_244047805d8f5442a03854a032c48e09 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
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", "homepartenaires.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "homepartenaires.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "homepartenaires.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_title($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(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "- Les Partenaires";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 5
public function block_content($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(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 6
echo " <section class=\"page_title ds s-overlay s-pt-150 s-pb-50\" style=\"background-image: url(";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/cbrc/imagefond.jpg"), "html", null, true);
echo ")\">
<div class=\"s-blur\"></div>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 text-center\">
<h1><i class=\"fas fa-handshake mr-3\"></i>Les Partenaires</h1>
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\">
<a href=\"";
// line 14
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home", [], false);
echo "\">
Accueil
</a>
</li>
<li class=\"breadcrumb-item active\">
Les Partenaires
</li>
</ol>
<p class=\"text-center mt-2\">
Nos partenaires et sponsors.
</p>
</div>
</div>
</div>
</section>
<section class=\"ls s-py-xl-150 s-py-lg-130 s-py-md-90 s-py-60\">
<div class=\"container\">
";
// line 32
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) {
// line 33
echo " <div class=\"row mb-2\">
<div class=\"col-12 text-right\">
<a href=\"";
// line 35
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_pagecontent", ["pagename" => twig_get_attribute($this->env, $this->source, (isset($context["pagecontent"]) || array_key_exists("pagecontent", $context) ? $context["pagecontent"] : (function () { throw new RuntimeError('Variable "pagecontent" does not exist.', 35, $this->source); })()), "name", [], "any", false, false, false, 35)], false), "html", null, true);
echo "\"><i class=\"fas fa-edit mr-2\"></i>Éditer</a>
</div>
</div>
";
}
// line 39
echo " <div class=\"row c-gutter-60\">
<main class=\"col-12 readarticle\">
<div class=\"card box-shadow rounded-0 pt-0 mb-4\">
<div class=\"card-body\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"entry-content\">
<p>
";
// line 47
echo twig_get_attribute($this->env, $this->source, (isset($context["pagecontent"]) || array_key_exists("pagecontent", $context) ? $context["pagecontent"] : (function () { throw new RuntimeError('Variable "pagecontent" does not exist.', 47, $this->source); })()), "content", [], "any", false, false, false, 47);
echo "
</p>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
</section>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "homepartenaires.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 144 => 47, 134 => 39, 127 => 35, 123 => 33, 121 => 32, 100 => 14, 88 => 6, 78 => 5, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}- Les Partenaires{% endblock %}
{% block content %}
<section class=\"page_title ds s-overlay s-pt-150 s-pb-50\" style=\"background-image: url({{ asset('assets/images/cbrc/imagefond.jpg') }})\">
<div class=\"s-blur\"></div>
<div class=\"container\">
<div class=\"row\">
<div class=\"col-12 text-center\">
<h1><i class=\"fas fa-handshake mr-3\"></i>Les Partenaires</h1>
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\">
<a href=\"{{ path('home', {}, relative = false) }}\">
Accueil
</a>
</li>
<li class=\"breadcrumb-item active\">
Les Partenaires
</li>
</ol>
<p class=\"text-center mt-2\">
Nos partenaires et sponsors.
</p>
</div>
</div>
</div>
</section>
<section class=\"ls s-py-xl-150 s-py-lg-130 s-py-md-90 s-py-60\">
<div class=\"container\">
{% if is_granted('ROLE_ADMIN') %}
<div class=\"row mb-2\">
<div class=\"col-12 text-right\">
<a href=\"{{ path('admin_pagecontent', {'pagename':pagecontent.name}, relative = false) }}\"><i class=\"fas fa-edit mr-2\"></i>Éditer</a>
</div>
</div>
{% endif %}
<div class=\"row c-gutter-60\">
<main class=\"col-12 readarticle\">
<div class=\"card box-shadow rounded-0 pt-0 mb-4\">
<div class=\"card-body\">
<div class=\"row\">
<div class=\"col-12\">
<div class=\"entry-content\">
<p>
{{ pagecontent.content|raw }}
</p>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
</div>
</section>
{% endblock %}", "homepartenaires.html.twig", "/home/maixmebouz/www/dev/cbrc/templates/homepartenaires.html.twig");
}
}