Skip to content

Commit

Permalink
Merge pull request #208 from FriendsOfCake/ADmad-patch-1
Browse files Browse the repository at this point in the history
Fix span tag generation.
  • Loading branch information
ADmad authored Sep 1, 2017
2 parents 4c326f4 + f78356a commit 1f5b7c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Template/Element/action-groups.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ foreach ($groups as $key => $group) {
<?php foreach ($groups as $key => $group) : ?>
<div class='btn-group'>
<?= $this->Html->link(
sprintf("%s %s", $key, $this->Html->tag('span', null, ['class' => 'caret'])),
sprintf("%s %s", $key, $this->Html->tag('span', '', ['class' => 'caret'])),
'#',
['class' => 'btn btn-default dropdown-toggle', 'escape' => false, 'data-toggle' => 'dropdown', 'aria-haspopup' => true, 'aria-expanded' => false]);
?>
['class' => 'btn btn-default dropdown-toggle', 'escape' => false, 'data-toggle' => 'dropdown', 'aria-haspopup' => true, 'aria-expanded' => false]
) ?>
<ul class="dropdown-menu pull-right">
<?php foreach ($group as $action => $config) : ?>
<?php $subaction = is_array($config) ? $action : $config; ?>
Expand Down

0 comments on commit 1f5b7c9

Please sign in to comment.