cerebrate/templates/UserSettings/save_setting.php

18 lines
393 B
PHP

<?php
echo $this->element('genericElements/Form/genericForm', [
'data' => [
'description' => __('User settings form'),
'fields' => [
[
'field' => 'name',
],
[
'field' => 'value'
],
],
'submit' => [
'action' => $this->request->getParam('action')
]
]
]);