mirror of https://github.com/MISP/MISP
chg: [decaying:(en|dis)able] Converted empty form with built-in cakephp
`postLink`pull/5032/head
parent
9b7f997443
commit
917b374921
|
@ -1,6 +1,5 @@
|
|||
<div>
|
||||
<?php
|
||||
echo $this->Form->create('DecayingModel', array('url' => '/DecayingModel/disable/' . $model['id']));
|
||||
echo $this->Form->end();
|
||||
echo $this->Form->postLink(__('Disable model'), '/DecayingModel/disable/' . h($model['id']))
|
||||
?>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<div>
|
||||
<?php
|
||||
echo $this->Form->create('DecayingModel', array('url' => '/DecayingModel/enable/' . $model['id']));
|
||||
echo $this->Form->end();
|
||||
echo $this->Form->postLink(__('Enable model'), '/DecayingModel/enable/' . h($model['id']))
|
||||
?>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue