edit.html.php 982 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. /**
  3. * The edit 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->edit),
  14. set::submitBtnText($lang->save),
  15. formGroup
  16. (
  17. set::label($lang->workflowrule->name),
  18. set::name('name'),
  19. set::value($rule->name),
  20. set::required(true)
  21. ),
  22. formGroup
  23. (
  24. set::label($lang->workflowrule->typeList['regex']),
  25. set::control('textarea'),
  26. set::name('rule'),
  27. set::value($rule->rule),
  28. set::placeholder($lang->workflowrule->placeholder->regex),
  29. set::required(true)
  30. )
  31. );
  32. render();