public function tabs(array $links, array $options = array())
    {
        $class = 'nav nav-tabs';
        if (isset($options['align'])) {
            switch ($options['align']) {
                case 'justified':
                    $class .= ' nav-justified';
                    break;
                case 'left':
                case 'right':
                    $class .= ' pull-'.$options['align'];
                    break;
            }
        }

        return $this->page->tag('ul', array('class' => $class), $this->links('li', $links, $options));
    }