punchcard-cms/punchcard

View on GitHub
content-types/bar.yml

Summary

Maintainability
Test Coverage
name: Bar
description: I am bar
id: bar
workflow: editor-approve
identifier: bar-name
attributes:
  - type: text
    id: bar-name
    name: Bar Name
    description: Write a really cool name please.
    required: save
    inputs:
      text:
        placeholder: add svc name
  - type: email
    id: service-email
    name: Service Email
    inputs:
      text:
        placeholder: add svc email
  - type: file
    id: image-file
    name: Image Filer
    inputs:
      file:
        settings:
          types:
            - .png
            - .jpg
            - .gif
  - type: file
    id: text-file
    name: Text Filer
  - type: file
    id: bar-file-repeat
    name: Bar File Repeater
    repeatable: true
  - type: text
    id: bar-repeat-test
    name: Bar Repeat Test
    description: Checkin the repeatin
    repeatable: true
  - type: reference
    id: bar-reference
    name: Bar reference
    repeatable: true
    inputs:
      reference:
        settings:
          contentType: services
  - type: reference
    id: foo-reference
    name: Foo reference
    inputs:
      reference:
        settings:
          contentType: services
          view: radio