forked from Public/pics
InlineFormView: combine fields and buttons into one 'controls' array
This commit is contained in:
@@ -25,7 +25,7 @@ class ManageAssets extends HTMLController
|
||||
'method' => 'post',
|
||||
'class' => 'col-md-6 text-end',
|
||||
'is_embed' => true,
|
||||
'buttons' => [
|
||||
'controls' => [
|
||||
'deleteChecked' => [
|
||||
'type' => 'submit',
|
||||
'caption' => 'Delete checked',
|
||||
|
||||
@@ -30,7 +30,7 @@ class ManageErrors extends HTMLController
|
||||
'action' => BASEURL . '/manageerrors/?' . Session::getSessionTokenKey() . '=' . Session::getSessionToken(),
|
||||
'method' => 'post',
|
||||
'class' => 'col-md-6 text-end',
|
||||
'buttons' => [
|
||||
'controls' => [
|
||||
'clear' => [
|
||||
'type' => 'submit',
|
||||
'caption' => 'Delete all',
|
||||
|
||||
@@ -21,7 +21,7 @@ class ManageTags extends HTMLController
|
||||
'action' => BASEURL . '/edittag/',
|
||||
'method' => 'get',
|
||||
'class' => 'col-md-6 text-end',
|
||||
'buttons' => [
|
||||
'controls' => [
|
||||
'add' => [
|
||||
'type' => 'submit',
|
||||
'caption' => 'Add new tag',
|
||||
|
||||
@@ -21,7 +21,7 @@ class ManageUsers extends HTMLController
|
||||
'action' => BASEURL . '/edituser/',
|
||||
'method' => 'get',
|
||||
'class' => 'col-md-6 text-end',
|
||||
'buttons' => [
|
||||
'controls' => [
|
||||
'add' => [
|
||||
'type' => 'submit',
|
||||
'caption' => 'Add new user',
|
||||
|
||||
Reference in New Issue
Block a user