/** * @return \Kodazzi\Form\Field */ public function renderLabel($value = null, $attributes = '') { $for = $this->id ? $this->id : $this->name_form . '_' . $this->name; if (!$value) { $value = $this->getValueLabel(); } return \Kodazzi\Helper\FormHtml::label($for, $value, $attributes); }