View/Helper/BootstrapFormHelper.php
public function end($options = null, $secureAttributes = [])
    {
        if (!empty($options)) {
            if (!is_array($options)) {
                $options = ['label' => $options];
            }
            $defaults = [
                'class' => 'btn btn-success',
            ];
            $options = array_merge($defaults, $options);
        }
        return parent::end($options, $secureAttributes);
    }
public function end($options = null, $secureAttributes = [])
    {
        if (!empty($options)) {
            if (!is_array($options)) {
                $options = ['label' => $options];
            }
            $defaults = [
                'class' => 'btn btn-success',
            ];
            $options = array_merge($defaults, $options);
        }
        return parent::end($options, $secureAttributes);
    }
public function end ( $ options = null , $ secureAttributes = [ ] ) { if ( ! empty ( $ options ) ) { if ( ! is_array ( $ options ) ) { $ options = [ 'label' => $ options ] ; } $ defaults = [ 'class' => 'btn btn-success' , ] ; $ options = array_merge ( $ defaults , $ options ) ; } return parent :: end ( $ options , $ secureAttributes ) ; }
Add divs and classes necessary for bootstrap to end form.

@param array $options
@param array $secureAttributes
@return string
Add divs and classes necessary for bootstrap to end form .