permanent
clone your own copy | download snapshot

Snapshots | iceberg

Inside this repository

event.yaml
text/plain

Download raw (1.8 KB)

title: Termine
'@extends':
    type: default
    context: blueprints://pages

form:
  fields:
    tabs:
      type: tabs
      active: 1

      fields:
        termin:
          type: tab
          title: Termin

          fields:
            header.title:
              type: text
              label: PLUGIN_SIMPLE_EVENTS.LABEL_TEXT
              validate:
                required: true
            opt-links:
              type: conditional
              condition: config.plugins['simple-events'].use_links
              fields:
                header.simple-events.link:
                  type: select
                  label: PLUGIN_SIMPLE_EVENTS.LABEL_LINKTOPAGE
                  config-options@: plugins.simple-events.link_options
            header.simple-events.start:
              type: date
              label: PLUGIN_ADMIN.DATE
              validate:
                required: true
            header.simple-events.end:
              type: date
              label: PLUGIN_SIMPLE_EVENTS.LABEL_ENDDATE
            opt-location:
              type: conditional
              condition: config.plugins['simple-events'].use_location
              fields:
                header.simple-events.location:
                  type: text
                  label: PLUGIN_SIMPLE_EVENTS.LABEL_LOCATION
            opt-region:
              type: conditional
              condition: config.plugins['simple-events'].use_regions
              fields:
                header.simple-events.region:
                  type: select
                  label: PLUGIN_SIMPLE_EVENTS.LABEL_REGIONS
                  config-options@: plugins.simple-events.regions
            header.taxonomy:
              type: taxonomy
              label: PLUGIN_ADMIN.TAXONOMY
              multiple: false
              validate:
                type: array