* bugView: calling common function to generate props of page header.

This commit is contained in:
liugang
2023-06-19 15:47:50 +08:00
parent eb279822cc
commit fa0dc5e29b
5 changed files with 26 additions and 61 deletions
+9 -6
View File
@@ -10,19 +10,22 @@ declare(strict_types=1);
*/
namespace zin;
set::title($bug->title);
form
include 'common.html.php';
formPanel
(
set::actions(array('submit')),
set::submitBtnText($lang->bug->close),
set::class('pb-6 border-b'),
setCommonProps($bug, $lang->bug->close),
formGroup
(
set::label($lang->comment),
set::name('comment'),
set::control('editor')
)
),
set::actions(array('submit')),
set::submitBtnText($lang->bug->close),
set::class('border-b'),
);
history();
render('modalDialog');