public function label($name, $text = null, $html_attributes = array()) { if (!$text) { $text = Inflector::humanize($name); } return FormTagHelper::label_tag($this->get_field_name($name), $text, $html_attributes); }