form.md 784 Bytes
Newer Older
1 2 3
---
title: Support
image: image.png
4 5
sitemap:
    ignore: true
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25

form:
    name: addpage-tech
    fields:
        -
            name: title
            label: Title
            type: text
            validate:
                required: true
        -
            name: image
            label: 'Image to upload'
            type: file
            multiple: false
            accept:
                - 'image/*'
            destination: '@self'
        -
            name: taxonomy.part
26 27
            label: 'Parts'
            description: 'Coma-seperated list of part IDs'
28 29 30 31 32 33 34 35 36 37 38 39
            type: text
        -
            name: email
            type: honeypot
    buttons:
        -
            type: submit
            value: Submit
    process:
        -
            redirect: '@self'
---