public function progress($percent, $class = '', $display = false)
    {
        $html = '';
        $classes = (array) $class;
        foreach ((array) $percent as $key => $progress) {
            $class = (isset($classes[$key])) ? $classes[$key] : '';
            $class = $this->prefixClasses('progress-bar', array('success', 'info', 'warning', 'danger', 'striped'), $class);
            $html .= $this->page->tag('div', array(
                'class' => $class,
                'style' => 'width:'.$progress.'%;',
                'role' => 'progressbar',
                'aria-valuenow' => $progress,
                'aria-valuemin' => 0,
                'aria-valuemax' => 100,
            ), $display !== false ? $progress.'%' : '<span class="sr-only">'.$progress.'% Complete</span>');
        }

        return '<div class="progress">'.$html.'</div>';
    }