public function getHtmlAttributes()
    {
        if ( $this->getValue()) {
            $this->_attributes['checked'] = 'checked';
        }
        $text = parent::getHtmlAttributes();
        $text = str_replace('form-control', '', $text);
        return $text;
    }