protected function _renderButton($label, $attrbs)
    {
        $attrbs = new AnConfig($attrbs);

        $attrbs->append(array(
            'class' => '',
        ));

        $attrbs->class .= 'btn small';

        if (isset($attrbs->type)) {
            $attrbs->class .= ' btn-'.$attrbs->type;

            unset($attrbs->type);
        }

        $attrbs = AnConfig::unbox($attrbs);

        foreach ($attrbs as $key => $value) {
            $attrbs[$key] = $key.'="'.$value.'"';
        }

        $attrbs = implode(' ', $attrbs);

        return '<a '.$attrbs.'>'.$label.'</a>';
    }