blocks = [
'global_attributes' => [$this, 'block_global_attributes'],
'input' => [$this, 'block_input'],
];
}
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/select/select.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
}
// line 3
public function block_global_attributes($context, array $blocks = [])
{
// line 4
echo " data-grav-selectize=\"";
echo twig_escape_filter($this->env, twig_jsonencode_filter((($this->getAttribute(($context["field"] ?? null), "selectize", [], "any", true, true)) ? ($this->getAttribute(($context["field"] ?? null), "selectize", [])) : ([]))), "html_attr");
echo "\"
";
// line 5
$this->displayParentBlock("global_attributes", $context, $blocks);
echo "
";
}
// line 8
public function block_input($context, array $blocks = [])
{
// line 9
echo "
env, ($context["form_field_wrapper_classes"] ?? null), "html", null, true))) : (print ("form-select-wrapper")));
echo " ";
echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "size", []), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, $this->getAttribute(($context["field"] ?? null), "wrapper_classes", []), "html", null, true);
echo "\">
";
}
public function getTemplateName()
{
return "forms/fields/select/select.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 294 => 66, 288 => 65, 276 => 63, 273 => 62, 270 => 61, 266 => 59, 257 => 56, 248 => 55, 245 => 54, 242 => 53, 238 => 52, 233 => 51, 230 => 50, 228 => 49, 223 => 47, 218 => 45, 214 => 44, 210 => 43, 205 => 42, 202 => 41, 199 => 40, 196 => 39, 192 => 38, 189 => 37, 186 => 36, 183 => 35, 180 => 34, 178 => 33, 175 => 32, 169 => 31, 166 => 30, 163 => 29, 152 => 27, 147 => 26, 144 => 25, 138 => 23, 135 => 22, 128 => 21, 121 => 20, 116 => 19, 111 => 18, 106 => 17, 101 => 16, 96 => 15, 91 => 14, 84 => 13, 78 => 12, 70 => 11, 66 => 10, 57 => 9, 54 => 8, 48 => 5, 43 => 4, 40 => 3, 30 => 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 global_attributes %}
data-grav-selectize=\"{{ (field.selectize is defined ? field.selectize : {})|json_encode()|e('html_attr') }}\"
{{ parent() }}
{% endblock %}
{% block input %}
{% endblock %}
", "forms/fields/select/select.html.twig", "/mnt/wpool1_tempdisk/webwndt/steintiger/user/plugins/form/templates/forms/fields/select/select.html.twig");
}
}