parent = false; $this->blocks = [ 'field' => [$this, 'block_field'], 'contents' => [$this, 'block_contents'], 'label' => [$this, 'block_label'], 'global_attributes' => [$this, 'block_global_attributes'], 'group' => [$this, 'block_group'], 'input' => [$this, 'block_input'], 'prepend' => [$this, 'block_prepend'], 'input_attributes' => [$this, 'block_input_attributes'], 'append' => [$this, 'block_append'], ]; } protected function doDisplay(array $context, array $blocks = []) { // line 1 $this->displayBlock('field', $context, $blocks); } public function block_field($context, array $blocks = []) { // line 2 echo "
"; // line 3 $this->displayBlock('contents', $context, $blocks); // line 51 echo "
"; } // line 3 public function block_contents($context, array $blocks = []) { // line 4 echo " "; if (($context["show_label"] ?? null)) { // line 5 echo "
"; // line 6 echo ($context["form_field_toggleable"] ?? null); // line 7 echo "
"; } // line 21 echo "
displayBlock('global_attributes', $context, $blocks); // line 23 echo " > "; // line 24 $this->displayBlock('group', $context, $blocks); // line 42 echo " "; if ($this->getAttribute(($context["field"] ?? null), "description", [], "any", true, true)) { // line 43 echo "
"; // line 45 echo ($context["form_field_description"] ?? null); echo "
"; } // line 49 echo "
"; } // line 8 public function block_label($context, array $blocks = []) { // line 9 if (($context["form_field_help"] ?? null)) { // line 10 echo "env, ($context["form_field_help"] ?? null)); echo "\">"; echo ($context["form_field_label"] ?? null); echo ""; } else { // line 12 echo ($context["form_field_label"] ?? null); } // line 14 if (($context["form_field_required"] ?? null)) { // line 15 echo " *"; } } // line 22 public function block_global_attributes($context, array $blocks = []) { } // line 24 public function block_group($context, array $blocks = []) { // line 25 echo " "; $this->displayBlock('input', $context, $blocks); // line 41 echo " "; } // line 25 public function block_input($context, array $blocks = []) { // line 26 echo "
getAttribute(($context["field"] ?? null), "size", []); echo "\"> "; // line 27 $this->displayBlock('prepend', $context, $blocks); // line 28 echo " env->getExtension('Grav\Common\Twig\TwigExtension')->fieldNameFilter((($context["scope"] ?? null) . $this->getAttribute(($context["field"] ?? null), "name", []))); echo "\" value=\""; // line 30 echo twig_escape_filter($this->env, twig_join_filter(($context["value"] ?? null), ", ")); echo "\" "; // line 31 $this->displayBlock('input_attributes', $context, $blocks); // line 32 echo " /> "; // line 33 $this->displayBlock('append', $context, $blocks); // line 34 echo " "; if ((($context["inline_errors"] ?? null) && ($context["errors"] ?? null))) { // line 35 echo "

"; // line 36 echo twig_first($this->env, ($context["errors"] ?? null)); echo "

"; } // line 39 echo "
"; } // line 27 public function block_prepend($context, array $blocks = []) { } // line 31 public function block_input_attributes($context, array $blocks = []) { } // line 33 public function block_append($context, array $blocks = []) { } public function getTemplateName() { return "forms/layouts/field.html.twig"; } public function getDebugInfo() { return array ( 217 => 33, 212 => 31, 207 => 27, 202 => 39, 196 => 36, 191 => 35, 188 => 34, 186 => 33, 183 => 32, 181 => 31, 177 => 30, 173 => 29, 170 => 28, 168 => 27, 161 => 26, 158 => 25, 154 => 41, 151 => 25, 148 => 24, 143 => 22, 138 => 15, 136 => 14, 133 => 12, 126 => 10, 124 => 9, 121 => 8, 116 => 49, 109 => 45, 103 => 43, 100 => 42, 98 => 24, 95 => 23, 93 => 22, 88 => 21, 83 => 18, 81 => 8, 70 => 7, 68 => 6, 64 => 5, 61 => 4, 58 => 3, 53 => 51, 51 => 3, 45 => 2, 39 => 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("{% block field %}
{% block contents %} {% if show_label %}
{{- form_field_toggleable -}}
{% endif %}
{% block group %} {% block input %}
{% block prepend %}{% endblock prepend %} {% block append %}{% endblock append %} {% if inline_errors and errors %}

{{ errors|first|raw }}

{% endif %}
{% endblock %} {% endblock %} {% if field.description is defined %}
{{ form_field_description|raw }}
{% endif %}
{% endblock %}
{% endblock %} ", "forms/layouts/field.html.twig", "/mnt/wpool1_tempdisk/webwndt/steintiger/user/plugins/form/templates/forms/layouts/field.html.twig"); } }