name: zab/tabs-vertical
title: "Tabs Vertical"
description: "Block for description of application process step-by-step"
group: Content Elements
priority: -20
prefixFields: true
prefixType: full
fields:
  - identifier: Zab/GeneralRow
    type: Basic

  # Tab Content
  - identifier: tab_content
    type: Tab
    label: "Content"
  - identifier: pretitle
    type: TextInput
    label: "Pretitle"
  - identifier: title
    type: TextInput
    label: "Title"
  - identifier: info
    type: Textarea
    label: "Info"
  - identifier: cta
    type: Link
    label: "Button"
    allowedTypes:
      - page
      - url
      - file
  - identifier: opt_button
    label: "Type of Button"
    type: Select
    renderType: selectSingle
    items:
      - label: "Primary"
        value: btn-primary
      - label: "Secondary"
        value: btn-secondary

  # Tab Steps
  - identifier: tab_steps
    type: Tab
    label: "Steps"
  - identifier: opt_color
    label: "Steps Color"
    type: Select
    renderType: selectSingle
    itemsProcFunc: 'Zab\ZabSite\Utility\ContentOptions->getColorSimple'
  - identifier: steps
    type: Collection
    label: "Steps Content"
    minitems: 0
    appearance:
      levelLinksPosition: bottom
    fields:
      - identifier: label
        type: TextInput
        label: "Label"
      - identifier: text
        type: Textarea
        label: "text"
        enableRichtext: true
