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

Commit 4db4981

Browse files
author
David Yell
committed
Changed from extra small buttons to small buttons as they're less fiddly to click on and more visually obvious:
1 parent 296df7d commit 4db4981

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Template/Bake/Template/index.ctp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,9 @@ $fields = collection($fields)
9090
$pk = '$' . $singularVar . '->' . $primaryKey[0];
9191
%>
9292
<td class="actions">
93-
<?= $this->Html->link(__('View'), ['action' => 'view', <%= $pk %>], ['class' => 'btn btn-default btn-xs']) ?>
94-
<?= $this->Html->link(__('Edit'), ['action' => 'edit', <%= $pk %>], ['class' => 'btn btn-default btn-xs']) ?>
95-
<?= $this->Form->postLink(__('Delete'), ['action' => 'delete', <%= $pk %>], ['confirm' => __('Are you sure you want to delete # {0}?', <%= $pk %>), 'class' => 'btn btn-xs btn-danger']) ?>
93+
<?= $this->Html->link(__('View'), ['action' => 'view', <%= $pk %>], ['class' => 'btn btn-default btn-sm']) ?>
94+
<?= $this->Html->link(__('Edit'), ['action' => 'edit', <%= $pk %>], ['class' => 'btn btn-default btn-sm']) ?>
95+
<?= $this->Form->postLink(__('Delete'), ['action' => 'delete', <%= $pk %>], ['confirm' => __('Are you sure you want to delete # {0}?', <%= $pk %>), 'class' => 'btn btn-sm btn-danger']) ?>
9696
</td>
9797
</tr>
9898

0 commit comments

Comments
 (0)