open('forms/color_input'); $template->title = $this->title; $template->name = $this->name; $template->value = $this->getValue(); $template->id = md5(uniqid()); $template->required = $this->required; $template->attributes = arrayToHtmlAttributes($this->attributes); return $template->render(); } }