media.yaml 750 B

123456789101112131415161718192021222324252627282930313233343536
  1. title: PLUGIN_ADMIN.MEDIA
  2. form:
  3. validation: loose
  4. fields:
  5. 'types':
  6. name: medias
  7. type: list
  8. label: PLUGIN_ADMIN.MEDIA_TYPES
  9. style: vertical
  10. key: extension
  11. controls: both
  12. collapsed: true
  13. fields:
  14. .extension:
  15. type: key
  16. label: PLUGIN_ADMIN.FILE_EXTENSION
  17. .type:
  18. type: text
  19. label: PLUGIN_ADMIN.TYPE
  20. .thumb:
  21. type: text
  22. label: PLUGIN_ADMIN.THUMB
  23. .mime:
  24. type: text
  25. label: PLUGIN_ADMIN.MIME_TYPE
  26. validate:
  27. type: lower
  28. .image:
  29. type: textarea
  30. yaml: true
  31. label: PLUGIN_ADMIN.IMAGE_OPTIONS
  32. validate:
  33. type: yaml