Skip to content

Commit d627f9d

Browse files
committed
correction for the “split” usage.
1 parent 40ff004 commit d627f9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/views/buttongroup.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
<div <?= $options['wrapperAttrs'] ?> >
33
<?php endif; ?>
44

5-
<?php if ( $options['splitted'] ): ?>
5+
<?php if ( !$options['splitted'] ): ?>
66
<div class="btn-group btn-group-<?= $options['size'] ?>">
77
<?php endif; ?>
88

99
<?php foreach($options['buttons'] as $button): ?>
1010
<?= Form::button($button['label'], $button['attr']) ?>
1111
<?php endforeach; ?>
1212

13-
<?php if ( $options['splitted'] ): ?>
13+
<?php if ( !$options['splitted'] ): ?>
1414
</div>
1515
<?php endif; ?>
1616

0 commit comments

Comments
 (0)