Skip to content
This repository was archived by the owner on Jan 3, 2024. It is now read-only.

Commit 01803da

Browse files
author
David Yell
committed
Added an icon to the filter button and updated the class to match the included css
1 parent 927759d commit 01803da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Template/Bake/Template/index.ctp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ $fields = collection($fields)
1313
<?= $this->Html->link('New', ['action' => 'add'], ['class' => 'btn btn-primary']);?>
1414
</div>
1515

16-
<div class="filter">
16+
<div class="search">
1717
<?php
1818
echo $this->Form->create(null, ['class' => 'form-inline']);
1919
echo $this->Form->control('title');
20-
echo $this->Form->button('Filter',['type' => 'submit', 'class' => 'btn btn-success']);
20+
echo $this->Form->button('<span class=\'glyphicon glyphicon-search\'></span> Filter',['type' => 'submit', 'class' => 'btn btn-success']);
2121
echo $this->Html->link('Reset', ['action' => 'index'], ['class' => 'btn btn-default']);
2222
echo $this->Form->end();
2323
?>

0 commit comments

Comments
 (0)