blocks = [
'field' => [$this, 'block_field'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "forms/field.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$this->parent = $this->loadTemplate("forms/field.html.twig", "forms/fields/hidden/hidden.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_field($context, array $blocks = [])
{
// line 4
echo "
";
// line 5
$context["value"] = ((($context["value"] ?? null)) ? (($context["value"] ?? null)) : ((($this->getAttribute(($context["field"] ?? null), "value", [], "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["field"] ?? null), "value", []), $this->getAttribute(($context["field"] ?? null), "default", []))) : ($this->getAttribute(($context["field"] ?? null), "default", [])))));
// line 6
$context["value"] = (($this->getAttribute(($context["field"] ?? null), "evaluate", [])) ? ($this->env->getExtension('Grav\Common\Twig\TwigExtension')->evaluateStringFunc($context, ($context["value"] ?? null))) : (($context["value"] ?? null)));
// line 7
echo "
env, $this->env->getExtension('Grav\Common\Twig\TwigExtension')->fieldNameFilter((($context["scope"] ?? null) . $this->getAttribute(($context["field"] ?? null), "name", []))), "html", null, true);
echo "\" value=\"";
echo twig_escape_filter($this->env, twig_join_filter(($context["value"] ?? null), ", "), "html_attr");
echo "\" />
";
}
public function getTemplateName()
{
return "forms/fields/hidden/hidden.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 52 => 8, 49 => 7, 47 => 6, 45 => 5, 42 => 4, 39 => 3, 29 => 1,);
}
/** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
public function getSource()
{
@trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
return $this->getSourceContext()->getCode();
}
public function getSourceContext()
{
return new Source("{% extends \"forms/field.html.twig\" %}
{% block field %}
{% set value = value ?: field.value|default(field.default) %}
{% set value = field.evaluate ? evaluate(value) : value %}
{% endblock %}", "forms/fields/hidden/hidden.html.twig", "/mnt/wpool1_tempdisk/webwndt/steintiger/user/plugins/form/templates/forms/fields/hidden/hidden.html.twig");
}
}