File: /var/www/apklausos/tmp/runtime/twig_cache/f2/f2c10183d0a570a02bdf6dde2ad3f2e8.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;
/* ./survey/questions/answer/multiplechoice_with_comments/rows/answer_row.twig */
class __TwigTemplate_63039e3fc4310ac364cf89d9d9f3881b 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 26
yield "<!-- answer_row -->
<li id=\"javatbd";
// line 27
yield $this->sandbox->ensureToStringAllowed(($context["name"] ?? null), 27, $this->source);
yield "\" class='checkbox-text-item mb-1' role='group'>
<!-- Checkbox + label -->
<div class=\"row\">
<div class=\"col-md-";
// line 30
yield $this->sandbox->ensureToStringAllowed(($context["sLabelWidth"] ?? null), 30, $this->source);
yield " col-12 form-check mb-2\">
<div class=\"checkbox-item answer-item\">
<input
class=\"";
// line 33
yield $this->sandbox->ensureToStringAllowed(($context["classes"] ?? null), 33, $this->source);
yield " ";
yield $this->sandbox->ensureToStringAllowed(($context["kpclass"] ?? null), 33, $this->source);
yield " form-check-input\"
title=\"";
// line 34
yield $this->sandbox->ensureToStringAllowed(($context["title"] ?? null), 34, $this->source);
yield "\"
type=\"checkbox\"
name=\"";
// line 36
yield $this->sandbox->ensureToStringAllowed(($context["name"] ?? null), 36, $this->source);
yield "\"
id=\"";
// line 37
yield $this->sandbox->ensureToStringAllowed(($context["id"] ?? null), 37, $this->source);
yield "\"
value=\"";
// line 38
yield $this->sandbox->ensureToStringAllowed(($context["value"] ?? null), 38, $this->source);
yield "\"
";
// line 39
yield $this->sandbox->ensureToStringAllowed(($context["checked"] ?? null), 39, $this->source);
yield "
/>
<label id=\"label-";
// line 42
yield $this->sandbox->ensureToStringAllowed(($context["id"] ?? null), 42, $this->source);
yield "\" for=\"";
yield $this->sandbox->ensureToStringAllowed(($context["id"] ?? null), 42, $this->source);
yield "\" class=\"control-label checkbox-label form-check-label\">";
yield LS_Twig_Extension::processString($this->sandbox->ensureToStringAllowed(($context["labeltext"] ?? null), 42, $this->source));
yield "</label>
";
// line 44
yield " ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["C"] ?? null), "Html", [], "any", false, false, true, 44), "hiddenField", [($context["javaname"] ?? null), ($context["javavalue"] ?? null), ["id" => // line 45
($context["javaname"] ?? null), "disabled" => true]], "method", false, false, true, 44), 44, $this->source);
// line 48
yield "
</div>
</div>
<!-- Comment -->
<div class=\"col-md-";
// line 53
yield $this->sandbox->ensureToStringAllowed(($context["sInputContainerWidth"] ?? null), 53, $this->source);
yield " col-12 answer-item text-item comment-item mb-2\">
<input
class='form-control ";
// line 55
yield $this->sandbox->ensureToStringAllowed(($context["kpclass"] ?? null), 55, $this->source);
yield "'
type='text'
id='";
// line 57
yield $this->sandbox->ensureToStringAllowed(($context["inputCommentId"] ?? null), 57, $this->source);
yield "'
name='";
// line 58
yield $this->sandbox->ensureToStringAllowed(($context["inputCommentName"] ?? null), 58, $this->source);
yield "'
value='";
// line 59
yield $this->sandbox->ensureToStringAllowed(($context["inputCOmmentValue"] ?? null), 59, $this->source);
yield "'
aria-labelledby='label-";
// line 60
yield $this->sandbox->ensureToStringAllowed(($context["id"] ?? null), 60, $this->source);
yield "'
/>
</div>
</div>
</li>
<!-- end of answer_row -->
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "./survey/questions/answer/multiplechoice_with_comments/rows/answer_row.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 125 => 60, 121 => 59, 117 => 58, 113 => 57, 108 => 55, 103 => 53, 96 => 48, 94 => 45, 92 => 44, 84 => 42, 78 => 39, 74 => 38, 70 => 37, 66 => 36, 61 => 34, 55 => 33, 49 => 30, 43 => 27, 40 => 26,);
}
public function getSourceContext()
{
return new Source("", "./survey/questions/answer/multiplechoice_with_comments/rows/answer_row.twig", "/var/www/apklausos/application/views/survey/questions/answer/multiplechoice_with_comments/rows/answer_row.twig");
}
public function checkSecurity()
{
static $tags = array();
static $filters = array();
static $functions = array("processString" => 42);
try {
$this->sandbox->checkSecurity(
[],
[],
['processString'],
$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;
}
}
}