File: /var/www/apklausos/tmp/runtime/twig_cache/eb/ebe21d93578d4c6db9dd28f85cb22e6a.php
<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* ./subviews/survey/question_subviews/asterisk.twig */
class __TwigTemplate_38f76cf3ceb5fa0b75059ee070420952 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->extensions[SandboxExtension::class];
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
// line 6
yield "<!-- Add a visual information + just Mandatory string for aria : can be improved -->
<div class=\"asterisk float-start\">
<sup class=\"text-danger fa fa-asterisk small\" aria-hidden='true'></sup>
<span class=\"visually-hidden text-danger\">";
// line 9
yield gT("(This question is mandatory)");
yield "</span>
</div>
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "./subviews/survey/question_subviews/asterisk.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 45 => 9, 40 => 6,);
}
public function getSourceContext()
{
return new Source("", "./subviews/survey/question_subviews/asterisk.twig", "/var/www/apklausos/themes/survey/vanilla/views/subviews/survey/question_subviews/asterisk.twig");
}
public function checkSecurity()
{
static $tags = array();
static $filters = array();
static $functions = array("gT" => 9);
try {
$this->sandbox->checkSecurity(
[],
[],
['gT'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}