create.html.php 920 B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * The create view file of workflowrule module of ZenTaoPMS.
  4. * @copyright Copyright 2009-2024 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
  5. * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  6. * @author Gang Liu <liugang@easycorp.ltd>
  7. * @package workflowrule
  8. * @link https://www.zentao.net
  9. */
  10. namespace zin;
  11. formPanel
  12. (
  13. set::title($lang->workflowrule->create),
  14. set::submitBtnText($lang->save),
  15. formGroup
  16. (
  17. set::label($lang->workflowrule->name),
  18. set::name('name'),
  19. set::required(true)
  20. ),
  21. formGroup
  22. (
  23. set::label($lang->workflowrule->typeList['regex']),
  24. set::control('textarea'),
  25. set::name('rule'),
  26. set::placeholder($lang->workflowrule->placeholder->regex),
  27. set::required(true)
  28. )
  29. );
  30. render();