permanent
clone your own copy | download snapshot

Snapshots | iceberg

Inside this repository

event.yaml
text/plain

Download raw (2.6 KB)

title: Event
'@extends':
    type: default

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

      fields:
        termin:
          type: tab
          title: Event

          fields:
            header.title:
              type: text
              label: Title
              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.type:
              type: toggle
              label: 'Permanent event?'
              highlight: 1
              options:
                1: PLUGIN_ADMIN.YES
                0: PLUGIN_ADMIN.NO
              default: 1
              validate:
                type: bool
            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
            header.time:
              type: text
              label: Time
            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.organiser:
              type: text
              label: Organiser (optional)
            header.taxonomy:
              type: taxonomy
              label: PLUGIN_ADMIN.TAXONOMY
              multiple: false
              validate:
                type: array
            header.text:
              type: textarea
              style: horizontal
              placeholder: 'Short text. 150 words - 1000 signs maximum.'
              label: 'Text'
            header.links:
              type: array
              label: 'Links'
              placeholder_key: 'title'
              placeholder_value: 'adress'
              required: true