<?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;
/* blog/sidebar.html.twig */
class __TwigTemplate_8fa4ad04f56b7cb24afd4c7e1d2f4644c747c8c4c79c160a5adfceeae554fb5b extends \Twig\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", "blog/sidebar.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "blog/sidebar.html.twig"));
// line 1
echo "<div class=\"col-md-4 col-xl-3\">
<div class=\"sidebar px-4 py-md-0\">
";
// line 5
if ((isset($context["form"]) || array_key_exists("form", $context))) {
// line 6
echo "
<h6 class=\"sidebar-title\">Buscar</h6>
";
// line 9
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.', 9, $this->source); })()), 'form_start', ["attr" => ["class" => "input-group"]]);
echo "
";
// line 11
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.', 11, $this->source); })()), "q", [], "any", false, false, false, 11), 'widget');
echo "
";
// line 12
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.', 12, $this->source); })()), "q", [], "any", false, false, false, 12), 'errors');
echo "
<div class=\"input-group-addon\">
<span class=\"input-group-text\"><i class=\"ti-search\"></i></span>
</div>
";
// line 18
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.', 18, $this->source); })()), 'form_end');
echo "
";
}
// line 21
echo "
<div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
<h6 class=\"sidebar-title\">Categorías</h6>
<div class=\"row link-color-default fs-14 lh-24\">
";
// line 28
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Blog\\DefaultController::categoriesAction"));
echo "
</div>
<div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
<h6 class=\"sidebar-title\">Posts Recientes</h6>
";
// line 36
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Blog\\DefaultController::recentPostsAction"));
echo "
<div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
<h6 class=\"sidebar-title\">Histórico</h6>
<div class=\"gap-multiline-items-1\">
";
// line 44
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Blog\\DefaultController::monthsAction"));
echo "
</div>
<div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
</div>
</div>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "blog/sidebar.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 111 => 44, 100 => 36, 89 => 28, 80 => 21, 74 => 18, 65 => 12, 61 => 11, 56 => 9, 51 => 6, 49 => 5, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<div class=\"col-md-4 col-xl-3\">
<div class=\"sidebar px-4 py-md-0\">
{% if form is defined %}
<h6 class=\"sidebar-title\">Buscar</h6>
{{ form_start(form, {'attr': {'class': 'input-group'}}) }}
{{ form_widget(form.q) }}
{{ form_errors(form.q) }}
<div class=\"input-group-addon\">
<span class=\"input-group-text\"><i class=\"ti-search\"></i></span>
</div>
{{ form_end(form) }}
{% endif %}
<div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
<h6 class=\"sidebar-title\">Categorías</h6>
<div class=\"row link-color-default fs-14 lh-24\">
{{ render(controller('App\\\\Controller\\\\Blog\\\\DefaultController::categoriesAction')) }}
</div>
<div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
<h6 class=\"sidebar-title\">Posts Recientes</h6>
{{ render(controller('App\\\\Controller\\\\Blog\\\\DefaultController::recentPostsAction')) }}
<div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
<h6 class=\"sidebar-title\">Histórico</h6>
<div class=\"gap-multiline-items-1\">
{{ render(controller('App\\\\Controller\\\\Blog\\\\DefaultController::monthsAction')) }}
</div>
<div style=\"border-bottom: 1px solid #64A70B; margin-top: 20px; margin-bottom: 20px;\"></div>
</div>
</div>", "blog/sidebar.html.twig", "/export/home/nomaspapel/templates/blog/sidebar.html.twig");
}
}