上有一個表單與正常:大紅色的取消按鈕一CakePHP的形式
$this->Form->create('Users');
$this->Form->input('name');
... 重圓在
$this->Form->end('Submit');
我要新增一個取消按鈕即可。
$this->Html->link('Cancel', array('controller' => 'users', 'action' => 'index'))
這產生一個鏈接,但我想要一個按鈕。
有沒有一個Cake的方法來完成這件事?