

<div class="btn-toolbar" role="toolbar">

    @if (isset($label))
    <div class="pull-left">
        <h2>{!! $label !!}</h2>
    </div>
    @endif
    @if (isset($buttons_left) && count($buttons_left))
    <div class="pull-left">
        @foreach ($buttons_left as $button) {!! $button !!}
        @endforeach
    </div>
    @endif
    @if (isset($buttons_right) && count($buttons_right))
    <div class="pull-right">
        @foreach ($buttons_right as $button) {!! $button !!}
        @endforeach
    </div>
    @endif
</div>





@if ( 
    (isset($label) && strlen($label)) || 
    (isset($buttons_left) && count($buttons_left)) || 
    (isset($buttons_right) && count($buttons_right))
    )
    <div class="btn-toolbar" role="toolbar">

        @if (isset($label) && strlen($label))
        <div class="pull-left">
            <h2>{!! $label !!}</h2>
        </div>
        @endif
        @if (isset($buttons_left) && count($buttons_left))
        <div class="pull-left">
            @foreach ($buttons_left as $button) {!! $button !!}
            @endforeach
        </div>
        @endif
        @if (isset($buttons_right) && count($buttons_right))
        <div class="pull-right">
            @foreach ($buttons_right as $button) {!! $button !!}
            @endforeach
        </div>
        @endif
    </div>
     <br />
@endif

Fix for not to include the (empty) toolbar html when not displaying a label or buttons.
Fix for not to include the (empty) toolbar html when not displaying a label or buttons.