createtag.html.php 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * The createtag view file of gitlab module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2023 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.zentao.net)
  6. * @license ZPL(https://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Yanyi Cao<caoyanyi@easycorp.ltd>
  8. * @package gitlab
  9. * @link https://www.zentao.net
  10. */
  11. namespace zin;
  12. formPanel
  13. (
  14. set::id('gitlabCreateForm'),
  15. set::title($lang->gitlab->createTag),
  16. set::actionsClass('w-1/2'),
  17. formGroup
  18. (
  19. set::name('tag_name'),
  20. set::label($lang->gitlab->tag->name),
  21. set::required(true),
  22. set::width('1/2')
  23. ),
  24. formGroup
  25. (
  26. set::label($lang->gitlab->tag->ref),
  27. set::required(true),
  28. set::width('1/2'),
  29. picker
  30. (
  31. set::name('ref'),
  32. set::items($branches),
  33. set::required(true)
  34. )
  35. ),
  36. formGroup
  37. (
  38. set::control('textarea'),
  39. set::name('message'),
  40. set::label($lang->gitlab->tag->message),
  41. set::width('1/2')
  42. )
  43. );