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

Commit e5ee31b

Browse files
author
David Yell
committed
Removed unused templates. Added a cancel button
1 parent 5c16e4e commit e5ee31b

File tree

3 files changed

+1
-32
lines changed

3 files changed

+1
-32
lines changed

src/Template/Bake/Element/form.ctp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,6 @@ $fields = collection($fields)
6060
?>
6161
</fieldset>
6262
<?= $this->Form->button(__('Submit'), ['class' => 'btn btn-success']) ?>
63+
<?= $this->Html->link('Cancel', ['action' => 'index'], ['class' => 'btn btn-default'])?>
6364
<?= $this->Form->end() ?>
6465
</div>

src/Template/Bake/Template/add.ctp

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/Template/Bake/Template/edit.ctp

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)