protected function group($name, $errors = null, $class = 'form-group', array $options = array())
	{
		$options = array_merge(array('class' => $class), $options);
		$options['class'] .= ($errors && $errors->has($name) ? ' has-error' : '');
		$return = '<div' . $this->html->attributes($options) . '>' . "\n";

		return $return;
	}
protected function group($name, $errors = null, $class = 'form-group', array $options = array())
	{
		$options = array_merge(array('class' => $class), $options);
		$options['class'] .= ($errors && $errors->has($name) ? ' has-error' : '');
		$return = '<div' . $this->html->attributes($options) . '>' . "\n";

		return $return;
	}
protected function group ( $ name , $ errors = null , $ class = 'form-group' , array $ options = array ( ) ) { $ options = array_merge ( array ( 'class' => $ class ) , $ options ) ; $ options [ 'class' ] .= ( $ errors && $ errors -> has ( $ name ) ? ' has-error' : '' ) ; $ return = '<div' . $ this -> html -> attributes ( $ options ) . '>' . "\n" ; return $ return ; }
Create a form group element.

@param string                         $name
@param \Illuminate\Support\MessageBag $errors
@param string                         $class
@param array                          $options

@return string
Create a form group element .