31 lines
824 B
PHP
31 lines
824 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
/**
|
|
* The create view file of tree module of ZenTaoPMS.
|
|
* @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
|
|
* @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
|
|
* @author Yuting Wang<wangyuting@easycorp.ltd>
|
|
* @package tree
|
|
* @link https://www.zentao.net
|
|
*/
|
|
namespace zin;
|
|
formPanel
|
|
(
|
|
setID('createForm'),
|
|
set::title($title),
|
|
set::labelWidth('120px'),
|
|
formGroup
|
|
(
|
|
set::required(true),
|
|
set::label($lang->tree->name),
|
|
set::name('name'),
|
|
set::control('input')
|
|
),
|
|
formGroup
|
|
(
|
|
set::label($lang->tree->short),
|
|
set::name('short'),
|
|
set::control('input')
|
|
)
|
|
);
|