group_new.yaml 402 B

1234567891011121314151617181920212223
  1. title: PLUGIN_ADMIN_PRO.ADD_GROUP
  2. rules:
  3. slug:
  4. pattern: '[a-zA-Zа-яA-Я0-9_\-]+'
  5. min: 1
  6. max: 200
  7. form:
  8. validation: loose
  9. fields:
  10. content:
  11. type: section
  12. title: PLUGIN_ADMIN_PRO.ADD_GROUP
  13. groupname:
  14. type: text
  15. label: PLUGIN_ADMIN_PRO.GROUP_NAME
  16. help: PLUGIN_ADMIN_PRO.GROUP_NAME_HELP
  17. validate:
  18. required: true
  19. rule: slug