name: zab/cards-links
title: "Cards Links"
description: "Block with cards links"
group: Content Elements
priority: -3
prefixFields: true
prefixType: full
fields:
  - identifier: Zab/GeneralRow
    type: Basic

  - identifier: tab_cards
    type: Tab
    label: "Cards"
  - identifier: cards
    type: Collection
    label: " "
    minitems: 0
    maxitems: 3
    appearance:
      levelLinksPosition: bottom
    fields:
      - identifier: opt_color
        type: Select
        renderType: selectSingle
        label: "Card Color"
        itemsProcFunc: 'Zab\ZabSite\Utility\ContentOptions->getColors'
      - identifier: title
        type: TextInput
        label: "Title"
      - identifier: subtitle
        type: TextInput
        label: "Subtitle"
      - identifier: text
        type: Textarea
        label: "Text"
      - identifier: link
        type: Link
        label: "Link"
        allowedTypes:
          - page
