_template

====
[[form]]
fields:
  text:
    label: "Post code"
    type: text
    match: /^[0-9]{2}-[0-9]{3}$/
    match-error: "Example: XX-XXX"
    hint: "XX-XXX"
  text-2:
    label: "String"
    type: text
    match: /^[a-z]{3,5}$/
    match-error: "Write 3 to 5 characters"
  date:
    label: "Date"
    type: date
  wiki-text:
    label: "Text"
    type: wiki
  select1:
    label: "Select (radio)"
    type: select
    values:
      a: "chose A"
      b: "chose B"
      c: "chose C"
      d: "chose D"
  select2:
    label: "Select"
    type: select
    values:
      1: "blue"
      2: "red"
      3: "orange"
      4: "green"
      5: "grey"
      6: "yellow"
  checkbox:
    label: "Check me"
    type: checkbox
  path:
    label: "Pagepath"
    type: pagepath
    category: bootstrap3-pp
    max-level: 3
  static:
    type: static
    value: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."
  url:
    label: "Url here"
    type: url
  password:
    label: "Password"
    type: password
  file:
    label: "Upload file"
    type: file
  file-2:
    label: "Upload file"
    type: file
[[/form]]