cerebrate/templates/genericTemplates/toggle.php

1 line
182 B
PHP
Raw Normal View History

<?= $this->Form->postLink(__('Toggle'), ['action' => 'toggle', $entity->id, $fieldName], ['confirm' => __('Are you sure you want to toggle {0} of {1}?', $fieldName. $entity->id)]) ?>