parent = $this->loadTemplate("forms/field.html.twig", "forms/fields/selectize/selectize.html.twig", 1); $this->blocks = array( 'global_attributes' => array($this, 'block_global_attributes'), 'input_attributes' => array($this, 'block_input_attributes'), ); } protected function doGetParent(array $context) { return "forms/field.html.twig"; } protected function doDisplay(array $context, array $blocks = array()) { $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_global_attributes($context, array $blocks = array()) { // line 4 echo " data-grav-selectize=\""; echo twig_escape_filter($this->env, twig_jsonencode_filter((($this->getAttribute(($context["field"] ?? null), "selectize", array(), "any", true, true)) ? (twig_array_merge(twig_array_merge($this->getAttribute(($context["field"] ?? null), "selectize", array()), array("create" => true)), array("items" => ($context["value"] ?? null)))) : (array("create" => true)))), "html_attr"); echo "\" "; // line 5 $this->displayParentBlock("global_attributes", $context, $blocks); echo " "; } // line 8 public function block_input_attributes($context, array $blocks = array()) { // line 9 echo " type=\"text\" "; // line 10 $this->displayParentBlock("input_attributes", $context, $blocks); echo " "; } public function getTemplateName() { return "forms/fields/selectize/selectize.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 49 => 10, 46 => 9, 43 => 8, 37 => 5, 32 => 4, 29 => 3, 11 => 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 Twig_Source("{% extends \"forms/field.html.twig\" %} {% block global_attributes %} data-grav-selectize=\"{{ (field.selectize is defined ? field.selectize|merge({'create': true})|merge({'items':value}) : {'create': true})|json_encode()|e('html_attr') }}\" {{ parent() }} {% endblock %} {% block input_attributes %} type=\"text\" {{ parent() }} {% endblock %} ", "forms/fields/selectize/selectize.html.twig", "/mnt/data/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/forms/fields/selectize/selectize.html.twig"); } }