File: /var/www/apklausos/tmp/runtime/twig_cache/f8/f865e5e838c42941340b9fd5499376dc.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/content/save.twig */
class __TwigTemplate_6b8cf2ce00d69cc508fda04a75cca84e 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 32
yield "
";
// line 37
yield Twig\Extension\CoreExtension::include($this->env, $context, "./subviews/header/start_form.twig");
yield " <!-- main form -->
";
// line 40
yield " ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "EM", [], "any", false, false, true, 40), "ScriptsAndHiddenInputs", [], "any", false, false, true, 40), 40, $this->source);
yield "
<div class=\"";
// line 42
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 42), "savecontainer", [], "any", false, false, true, 42), 42, $this->source);
yield " card bg-light mb-3 clearfix \" ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 42), "savecontainer", [], "any", false, false, true, 42), 42, $this->source);
yield ">
<div class=\"card-body\">
<div class=\"";
// line 44
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 44), "savecontainertitle", [], "any", false, false, true, 44), 44, $this->source);
yield " h2\" ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 44), "savecontainertitle", [], "any", false, false, true, 44), 44, $this->source);
yield ">";
yield gT("Save your unfinished survey");
yield "</div>
<div class=\"";
// line 45
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 45), "savecontainertext", [], "any", false, false, true, 45), 45, $this->source);
yield " text-info\" ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 45), "savecontainertext", [], "any", false, false, true, 45), 45, $this->source);
yield ">
<p ";
// line 46
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 46), "savecontainertextpa", [], "any", false, false, true, 46), 46, $this->source);
yield "> ";
yield gT("Enter a name and password for this survey and click save below.");
yield " </p>
<p ";
// line 47
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 47), "savecontainertextpb", [], "any", false, false, true, 47), 47, $this->source);
yield "> ";
yield gT("Your survey will be saved using that name and password, and can be completed later by logging in with the same name and password.");
yield " </p>
<p class='";
// line 48
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 48), "savecontainertextpc", [], "any", false, false, true, 48), 48, $this->source);
yield "' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 48), "savecontainertextpc", [], "any", false, false, true, 48), 48, $this->source);
yield "> ";
yield gT("If you give an email address, an email containing the details will be sent to you.");
yield " </p>
<p ";
// line 49
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 49), "savecontainertextpd", [], "any", false, false, true, 49), 49, $this->source);
yield "> ";
yield gT("After having clicked the save button you can either close this browser window or continue filling out the survey.");
yield " </p>
</div>
<div class=\"";
// line 51
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 51), "savecontainerwarning", [], "any", false, false, true, 51), 51, $this->source);
yield " text-warning\" ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 51), "savecontainerwarning", [], "any", false, false, true, 51), 51, $this->source);
yield ">
<p> ";
// line 52
yield gT("To remain anonymous please use a pseudonym as your username, also an email address is not required.");
yield " </p>
</div>
</div>
</div>
<div class=\"";
// line 57
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 57), "saveformcontainer", [], "any", false, false, true, 57), 57, $this->source);
yield "\" ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 57), "saveformcontainer", [], "any", false, false, true, 57), 57, $this->source);
yield ">
";
// line 59
if ((LS_Twig_Extension::safecount(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "aSaveForm", [], "any", false, false, true, 59), "aErrors", [], "any", false, false, true, 59)) > 0)) {
// line 60
yield " <ul class='";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "aSaveForm", [], "any", false, false, true, 60), "sClass", [], "any", false, false, true, 60), 60, $this->source);
yield " ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 60), "saveformcontainerul", [], "any", false, false, true, 60), 60, $this->source);
yield " alert alert-danger list-unstyled ' >
";
// line 61
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "aSaveForm", [], "any", false, false, true, 61), "aErrors", [], "any", false, false, true, 61));
foreach ($context['_seq'] as $context["key"] => $context["error"]) {
// line 62
yield " <li ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 62), "saveformcontainerli", [], "any", false, false, true, 62), 62, $this->source);
yield " >";
yield $this->sandbox->ensureToStringAllowed($context["error"], 62, $this->source);
yield "</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['key'], $context['error'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 64
yield " </ul>
";
}
// line 66
yield "
";
// line 72
yield " ";
$context["htmlOptions"] = ["id" => "form-save", "name" => "form-save", "class" => "ls-form"];
// line 78
yield "
";
// line 84
yield " <!-- Save Form -->
";
// line 85
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, // line 86
($context["C"] ?? null), "Html", [], "any", false, false, true, 86), "form", [CoreExtension::getAttribute($this->env, $this->source, // line 87
($context["aSurveyInfo"] ?? null), "surveyUrl", [], "any", false, false, true, 87), "post", // line 89
($context["htmlOptions"] ?? null)], "method", false, false, true, 86), 86, $this->source);
// line 91
yield "
<!-- Hidden fields -->
";
// line 93
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "aSaveForm", [], "any", false, false, true, 93), "sHiddenField", [], "any", false, false, true, 93), 93, $this->source);
yield "
<!-- Name and Password -->
<div class='";
// line 96
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 96), "saveformsurvey", [], "any", false, false, true, 96), 96, $this->source);
yield " col-lg-8 offset-lg-2' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 96), "saveformsurvey", [], "any", false, false, true, 96), 96, $this->source);
yield ">
<div class='";
// line 97
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 97), "saveformsurveydiva", [], "any", false, false, true, 97), 97, $this->source);
yield " mb-3' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 97), "saveformsurveydiva", [], "any", false, false, true, 97), 97, $this->source);
yield ">
<!-- Saved name -->
<label class='";
// line 100
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 100), "saveformsurveydivalabel", [], "any", false, false, true, 100), 100, $this->source);
yield " control-label' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 100), "saveformsurveydivalabel", [], "any", false, false, true, 100), 100, $this->source);
yield ">
";
// line 101
yield gT("Name:");
yield "
<small class=\"";
// line 102
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 102), "saveformsurveydivalabelsmall", [], "any", false, false, true, 102), 102, $this->source);
yield " text-danger asterisk fa fa-asterisk float-start small \" ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 102), "saveformsurveydivalabelsmall", [], "any", false, false, true, 102), 102, $this->source);
yield " > </small>
<span class=\"";
// line 103
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 103), "saveformsurveydivalabelspan", [], "any", false, false, true, 103), 103, $this->source);
yield " visually-hidden text-danger asterisk\" ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 103), "saveformsurveydivalabelspan", [], "any", false, false, true, 103), 103, $this->source);
yield ">";
yield gT("Mandatory");
yield "<span>
</label>
<div class='";
// line 105
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 105), "saveformsurveydivb", [], "any", false, false, true, 105), 105, $this->source);
yield "' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 105), "saveformsurveydivb", [], "any", false, false, true, 105), 105, $this->source);
yield ">
";
// line 107
$context["htmlOptions"] = ["id" => "savename", "name" => "savename", "class" => "form-control", "required" => true];
// line 114
yield "
";
// line 116
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, 116), "textField", ["savename", LS_Twig_Extension::getPost("savename"), // line 119
($context["htmlOptions"] ?? null)], "method", false, false, true, 116), 116, $this->source);
// line 120
yield "
</div>
</div>
<!-- Password -->
<div class='";
// line 126
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 126), "saveformsurveydivc", [], "any", false, false, true, 126), 126, $this->source);
yield " row mb-3' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 126), "saveformsurveydivc", [], "any", false, false, true, 126), 126, $this->source);
yield ">
<label class='";
// line 127
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 127), "saveformsurveydivclabel", [], "any", false, false, true, 127), 127, $this->source);
yield " control-label' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 127), "saveformsurveydivclabel", [], "any", false, false, true, 127), 127, $this->source);
yield ">
";
// line 128
yield gT("Password:");
yield "
<small class=\"";
// line 129
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 129), "saveformsurveydivcsmall", [], "any", false, false, true, 129), 129, $this->source);
yield " text-danger asterisk fa fa-asterisk float-start small\" ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 129), "saveformsurveydivcsmall", [], "any", false, false, true, 129), 129, $this->source);
yield " > </small>
<span class=\"";
// line 130
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 130), "saveformsurveydivcspan", [], "any", false, false, true, 130), 130, $this->source);
yield " visually-hidden text-danger asterisk\" ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 130), "saveformsurveydivcspan", [], "any", false, false, true, 130), 130, $this->source);
yield ">";
yield gT("Mandatory");
yield "<span>
</label>
<div class='";
// line 133
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 133), "saveformsurveydivcdiv", [], "any", false, false, true, 133), 133, $this->source);
yield "' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 133), "saveformsurveydivcdiv", [], "any", false, false, true, 133), 133, $this->source);
yield ">
";
// line 135
$context["htmlOptions"] = ["id" => "savepass", "name" => "savepass", "class" => "form-control", "required" => true];
// line 142
yield "
";
// line 143
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["C"] ?? null), "Html", [], "any", false, false, true, 143), "passwordField", ["savepass", "", // line 146
($context["htmlOptions"] ?? null)], "method", false, false, true, 143), 143, $this->source);
// line 147
yield "
</div>
</div>
<!-- Confirm password -->
<div class='";
// line 152
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 152), "saveformsurveydivd", [], "any", false, false, true, 152), 152, $this->source);
yield " mb-3' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 152), "saveformsurveydivd", [], "any", false, false, true, 152), 152, $this->source);
yield ">
<label class='";
// line 153
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 153), "saveformsurveydivdlabel", [], "any", false, false, true, 153), 153, $this->source);
yield " control-label' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 153), "saveformsurveydivdlabel", [], "any", false, false, true, 153), 153, $this->source);
yield " >
";
// line 154
yield gT("Repeat password:");
yield "
<small class=\"";
// line 155
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 155), "saveformsurveydivdlabelsmall", [], "any", false, false, true, 155), 155, $this->source);
yield " text-danger asterisk fa fa-asterisk float-start small\" ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 155), "saveformsurveydivdlabelsmall", [], "any", false, false, true, 155), 155, $this->source);
yield "> </small>
<span class=\"";
// line 156
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 156), "saveformsurveydivdlabelspan", [], "any", false, false, true, 156), 156, $this->source);
yield " visually-hidden text-danger asterisk\" ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 156), "saveformsurveydivdlabelspan", [], "any", false, false, true, 156), 156, $this->source);
yield ">";
yield gT("Mandatory");
yield "<span>
</label>
<div class='";
// line 159
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 159), "saveformsurveydivddiv", [], "any", false, false, true, 159), 159, $this->source);
yield "' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 159), "saveformsurveydivddiv", [], "any", false, false, true, 159), 159, $this->source);
yield ">
";
// line 160
$context["htmlOptions"] = ["id" => "savepass2", "name" => "savepass2", "class" => "form-control", "required" => true];
// line 167
yield "
";
// line 168
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["C"] ?? null), "Html", [], "any", false, false, true, 168), "passwordField", ["savepass2", "", // line 171
($context["htmlOptions"] ?? null)], "method", false, false, true, 168), 168, $this->source);
// line 172
yield "
</div>
</div>
<!-- Email -->
<div class='";
// line 177
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 177), "saveformsurveydive", [], "any", false, false, true, 177), 177, $this->source);
yield " mb-3' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 177), "saveformsurveydive", [], "any", false, false, true, 177), 177, $this->source);
yield ">
<label class='";
// line 178
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 178), "saveformsurveydivelabel", [], "any", false, false, true, 178), 178, $this->source);
yield " control-label' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 178), "saveformsurveydivelabel", [], "any", false, false, true, 178), 178, $this->source);
yield " >
";
// line 179
yield gT("Your email address:");
yield "
</label>
<div class='";
// line 181
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 181), "saveformsurveydivediv", [], "any", false, false, true, 181), 181, $this->source);
yield "' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 181), "saveformsurveydivediv", [], "any", false, false, true, 181), 181, $this->source);
yield ">
";
// line 183
$context["htmlOptions"] = ["id" => "saveemail", "name" => "saveemail", "class" => "form-control"];
// line 189
yield "
";
// line 190
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["C"] ?? null), "Html", [], "any", false, false, true, 190), "emailField", ["saveemail", "", // line 193
($context["htmlOptions"] ?? null)], "method", false, false, true, 190), 190, $this->source);
// line 194
yield "
</div>
</div>
";
// line 199
if (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "aSaveForm", [], "any", false, false, true, 199), "aCaptcha", [], "any", false, false, true, 199), "show", [], "any", false, false, true, 199)) {
// line 200
yield " <!-- Captcha -->
<div class='";
// line 201
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 201), "saveformsurveydivf", [], "any", false, false, true, 201), 201, $this->source);
yield " mb-3' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 201), "saveformsurveydivd", [], "any", false, false, true, 201), 201, $this->source);
yield " >
<label class='";
// line 202
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 202), "saveformsurveydivflabel", [], "any", false, false, true, 202), 202, $this->source);
yield " control-label' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 202), "saveformsurveydivdlabel", [], "any", false, false, true, 202), 202, $this->source);
yield " >
";
// line 203
yield gT("Security question:");
yield "
</label>
<div class='";
// line 205
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 205), "saveformsurveydivfdiv", [], "any", false, false, true, 205), 205, $this->source);
yield "' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 205), "saveformsurveydivddiv", [], "any", false, false, true, 205), 205, $this->source);
yield " >
<div class='";
// line 206
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 206), "saveformsurveydivfdivdiv", [], "any", false, false, true, 206), 206, $this->source);
yield " input-group' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 206), "saveformsurveydivddivdiv", [], "any", false, false, true, 206), 206, $this->source);
yield ">
<div class='";
// line 207
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 207), "saveformsurveydivfdivdivdiv", [], "any", false, false, true, 207), 207, $this->source);
yield " ' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 207), "saveformsurveydivddivdivdiv", [], "any", false, false, true, 207), 207, $this->source);
yield " >
<img src='";
// line 208
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "aSaveForm", [], "any", false, false, true, 208), "aCaptcha", [], "any", false, false, true, 208), "sImageUrl", [], "any", false, false, true, 208), 208, $this->source);
yield "' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 208), "saveformsurveydivddivdivdivimg", [], "any", false, false, true, 208), 208, $this->source);
yield " />
</div>
<input class='";
// line 210
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 210), "saveformsurveydivfdivdivinput", [], "any", false, false, true, 210), 210, $this->source);
yield " form-control' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 210), "saveformsurveydivfdivdivinput", [], "any", false, false, true, 210), 210, $this->source);
yield " />
</div>
</div>
</div>
";
}
// line 215
yield "
<!-- save button -->
<div class='";
// line 217
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 217), "saveformsurveydivg", [], "any", false, false, true, 217), 217, $this->source);
yield " mb-3' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 217), "saveformsurveydivg", [], "any", false, false, true, 217), 217, $this->source);
yield ">
<div class='";
// line 218
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 218), "saveformsurveydivgdiv", [], "any", false, false, true, 218), 218, $this->source);
yield " float-end' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 218), "saveformsurveydivgdiv", [], "any", false, false, true, 218), 218, $this->source);
yield ">
<button ";
// line 219
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 219), "saveformsurveydivgdivbutton", [], "any", false, false, true, 219), 219, $this->source);
yield " class='";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 219), "saveformsurveydivgdivbutton", [], "any", false, false, true, 219), 219, $this->source);
yield " btn btn-outline-secondary' >
";
// line 220
yield gT("Save Now");
yield "
</button>
</div>
</div>
</div>
<div class='";
// line 227
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 227), "saveformsurveydivh", [], "any", false, false, true, 227), 227, $this->source);
yield "' ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 227), "saveformsurveydivh", [], "any", false, false, true, 227), 227, $this->source);
yield ">
<div class=\"";
// line 228
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 228), "saveformsurveydivhdiv", [], "any", false, false, true, 228), 228, $this->source);
yield " \" ";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "attr", [], "any", false, false, true, 228), "saveformsurveydivhdiv", [], "any", false, false, true, 228), 228, $this->source);
yield ">
<a href=\"";
// line 229
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "surveyUrl", [], "any", false, false, true, 229), 229, $this->source);
yield "\" class=\"";
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["aSurveyInfo"] ?? null), "class", [], "any", false, false, true, 229), "saveformsurveydivhdiva", [], "any", false, false, true, 229), 229, $this->source);
yield "\">";
yield gT("Return to survey");
yield "</a>
</div>
</div>
</div>
</form> <!-- main form -->
";
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "./subviews/content/save.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 491 => 229, 485 => 228, 479 => 227, 469 => 220, 463 => 219, 457 => 218, 451 => 217, 447 => 215, 437 => 210, 430 => 208, 424 => 207, 418 => 206, 412 => 205, 407 => 203, 401 => 202, 395 => 201, 392 => 200, 390 => 199, 383 => 194, 381 => 193, 380 => 190, 377 => 189, 375 => 183, 368 => 181, 363 => 179, 357 => 178, 351 => 177, 344 => 172, 342 => 171, 341 => 168, 338 => 167, 336 => 160, 330 => 159, 320 => 156, 314 => 155, 310 => 154, 304 => 153, 298 => 152, 291 => 147, 289 => 146, 288 => 143, 285 => 142, 283 => 135, 276 => 133, 266 => 130, 260 => 129, 256 => 128, 250 => 127, 244 => 126, 236 => 120, 234 => 119, 232 => 116, 229 => 114, 227 => 107, 220 => 105, 211 => 103, 205 => 102, 201 => 101, 195 => 100, 187 => 97, 181 => 96, 175 => 93, 171 => 91, 169 => 89, 168 => 87, 167 => 86, 166 => 85, 163 => 84, 160 => 78, 157 => 72, 154 => 66, 150 => 64, 139 => 62, 135 => 61, 128 => 60, 126 => 59, 119 => 57, 111 => 52, 105 => 51, 98 => 49, 90 => 48, 84 => 47, 78 => 46, 72 => 45, 64 => 44, 57 => 42, 51 => 40, 46 => 37, 40 => 32,);
}
public function getSourceContext()
{
return new Source("", "./subviews/content/save.twig", "/var/www/apklausos/themes/survey/vanilla/views/subviews/content/save.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 59, "for" => 61, "set" => 72);
static $filters = array();
static $functions = array("include" => 37, "gT" => 44, "count" => 59, "getPost" => 118);
try {
$this->sandbox->checkSecurity(
['if', 'for', 'set'],
[],
['include', 'gT', 'count', 'getPost'],
$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;
}
}
}