parent = false; $this->blocks = array( 'label' => array($this, 'block_label'), 'field' => array($this, 'block_field'), ); } protected function doDisplay(array $context, array $blocks = array()) { // line 1 $context["value"] = (((null === ($context["value"] ?? null))) ? ($this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter($this->getAttribute(($context["field"] ?? null), "default", array()))) : (($context["value"] ?? null))); // line 2 if ( !($context["codemirrorOptions"] ?? null)) { // line 3 echo " "; $context["codemirrorOptions"] = twig_array_merge(array("mode" => "gfm", "ignore" => array(0 => "code", 1 => "preview")), (($this->getAttribute(($context["field"] ?? null), "codemirror", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["field"] ?? null), "codemirror", array()), array())) : (array()))); } // line 5 echo " "; // line 6 $this->displayBlock('label', $context, $blocks); // line 12 $this->displayBlock('field', $context, $blocks); } // line 6 public function block_label($context, array $blocks = array()) { // line 7 echo " "; if ($this->getAttribute(($context["field"] ?? null), "label", array())) { // line 8 echo " "; $context["hint"] = (($this->getAttribute(($context["field"] ?? null), "help", array())) ? ((("data-hint=\"" . $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter($this->getAttribute(($context["field"] ?? null), "help", array()))) . "\"")) : ("")); // line 9 echo "