Exemplo n.º 1
0
 /**
  * Get a form group comprised of a label, form element and errors.
  *
  * @param  string $name
  * @param  string $label
  * @param  string $element
  * @return string
  */
 protected function getFormGroup($name, $label, $element)
 {
     $options = $this->getFormGroupOptions($name);
     $label = $label ? $this->label($name, $label) : '';
     return '<div ' . $this->html->attributes($options) . '>' . $label . $element . '</div>';
 }