<?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;
/* network/widget/widget.html.twig */
class __TwigTemplate_99126c5baf3641fcc3003e477699c4555f9a518425f108c07720600cce51d31f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
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", "network/widget/widget.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "network/widget/widget.html.twig"));
// line 1
echo "<div>
";
// line 2
if ((array_key_exists("title", $context) && (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 2, $this->source); })()))) {
// line 3
echo " <h3 class=\"mb-5 text-lg font-medium uppercase font-headline text-neutral-600\">
";
// line 4
echo twig_escape_filter($this->env, (isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 4, $this->source); })()), "html", null, true);
echo "
";
// line 5
if ((array_key_exists("editlink", $context) && !twig_test_empty((isset($context["editlink"]) || array_key_exists("editlink", $context) ? $context["editlink"] : (function () { throw new RuntimeError('Variable "editlink" does not exist.', 5, $this->source); })())))) {
// line 6
echo " <small class=\"underline lowercase\">
<a data-turbo=\"false\" href=\"";
// line 7
echo twig_escape_filter($this->env, (isset($context["editlink"]) || array_key_exists("editlink", $context) ? $context["editlink"] : (function () { throw new RuntimeError('Variable "editlink" does not exist.', 7, $this->source); })()), "html", null, true);
echo "\">(";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("edit"), "html", null, true);
echo ")</a>
</small>
";
}
// line 10
echo " </h3>
";
}
// line 12
echo "
";
// line 13
$this->displayBlock('content', $context, $blocks);
// line 16
echo "</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 13
public function block_content($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(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 14
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "network/widget/widget.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 99 => 14, 89 => 13, 78 => 16, 76 => 13, 73 => 12, 69 => 10, 61 => 7, 58 => 6, 56 => 5, 52 => 4, 49 => 3, 47 => 2, 44 => 1,);
}
public function getSourceContext()
{
return new Source("<div>
{% if title is defined and title %}
<h3 class=\"mb-5 text-lg font-medium uppercase font-headline text-neutral-600\">
{{ title }}
{% if editlink is defined and editlink is not empty %}
<small class=\"underline lowercase\">
<a data-turbo=\"false\" href=\"{{ editlink }}\">({{ 'edit'|trans }})</a>
</small>
{% endif %}
</h3>
{% endif %}
{% block content %}
{% endblock %}
</div>
", "network/widget/widget.html.twig", "/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/widget/widget.html.twig");
}
}