public function renderSubmit(Submit $select)
	{
		$attributes = $select->getAttributes();

		if ( ! isset($attributes['class']))
		{
			$attributes['class'] = '';
		}

		$attributes['class'] .= ' btn btn-default';

		return Html::tag('button', $attributes, $select->getValue());
	}
public function renderSubmit(Submit $select)
	{
		$attributes = $select->getAttributes();

		if ( ! isset($attributes['class']))
		{
			$attributes['class'] = '';
		}

		$attributes['class'] .= ' btn btn-default';

		return Html::tag('button', $attributes, $select->getValue());
	}
public function renderSubmit ( Submit $ select ) { $ attributes = $ select -> getAttributes ( ) ; if ( ! isset ( $ attributes [ 'class' ] ) ) { $ attributes [ 'class' ] = '' ; } $ attributes [ 'class' ] .= ' btn btn-default' ; return Html :: tag ( 'button' , $ attributes , $ select -> getValue ( ) ) ; }
Renders a submit with the appropriate classes.

@param Submit $select

@return string
Renders a submit with the appropriate classes .