Skip to content

Commit

Permalink
Merge pull request #119 from FriendsOfCake/actions-header
Browse files Browse the repository at this point in the history
Move back table action buttons below header.
  • Loading branch information
jippi committed Apr 28, 2016
2 parents 1b34b2a + 68b6f97 commit 0dd8e28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 4 additions & 5 deletions src/Template/Element/action-header.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ if (!$this->exists('actions')) {
$this->end();
}
?>
<h2><?= $this->get('title'); ?>
<div class="actions-wrapper">
<?= $this->fetch('actions'); ?>
</div>
</h2>
<h2><?= $this->get('title'); ?></h2>
<div class="actions-wrapper">
<?= $this->fetch('actions'); ?>
</div>
1 change: 0 additions & 1 deletion webroot/css/local.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,5 @@ h2 .actions {
}

div.actions-wrapper {
display: inline-block;
margin: 10px 0;
}

0 comments on commit 0dd8e28

Please sign in to comment.