* Change the header of the modal page.
This commit is contained in:
@@ -14,26 +14,10 @@ namespace zin;
|
||||
|
||||
/* ====== Define the page structure with zin widgets ====== */
|
||||
|
||||
modalHeader();
|
||||
formPanel
|
||||
(
|
||||
set::id('taskPauseForm'),
|
||||
set::title($lang->task->pauseAction),
|
||||
set::headingClass('status-heading'),
|
||||
set::titleClass('form-label .form-grid'),
|
||||
set::shadow(!isAjaxRequest('modal')),
|
||||
set::actions(array('submit')),
|
||||
set::submitBtnText($lang->task->pause),
|
||||
to::headingActions
|
||||
(
|
||||
entityLabel
|
||||
(
|
||||
setClass('my-3 gap-x-3'),
|
||||
set::level(1),
|
||||
set::text($task->name),
|
||||
set::entityID($task->id),
|
||||
set::reverse(true),
|
||||
)
|
||||
),
|
||||
formGroup
|
||||
(
|
||||
set::label($lang->comment),
|
||||
@@ -45,8 +29,6 @@ formPanel
|
||||
),
|
||||
);
|
||||
|
||||
h::hr(set::class('mt-6'));
|
||||
|
||||
history();
|
||||
|
||||
render();
|
||||
|
||||
Reference in New Issue
Block a user