NAME

Moonshine::Bootstrap::Component::ButtonToolbar

SYNOPSIS

$self->button_toolbar(
    toolbar => [ 
        { 
            group => [ 
                {
                   data => 'one',
                }
            ] 
        }, 
        {
            group => [
                {
                    data => 'two',
                }
            ]
        }
    ]
);

Options

role
class
toolbar

Sample Output

<div class="btn-toolbar" role="toolbar">
    <div class="btn-group" role="group">
          <button type="button" class="btn btn-default">one</button>
    </div> 
    <div class="btn-group" role="group">
          <button type="button" class="btn btn-default">one</button>
    </div>
</div>