title: Product
'@extends':
    type: default
    context: blueprints://pages

form:
  fields:
    tabs:
      fields:
        content:
          type: tab

          fields:

            product:
              type: section
              title: Product
              underline: true

              fields:
                header.price:
                  type: text
                  label: Price
                  default: '10'
                  validate:
                    type: int

                header.default_photo:
                  toggleable: true
                  type: pagemediaselect
                  label: Default Photo
                  help: Used as the main product image
title: Product
'@extends':
    type: default
    context: blueprints://pages

form:
  fields:
    tabs:
      fields:
        content:
          type: tab

          fields:

            product:
              type: section
              title: Product
              underline: true

              fields:
                header.price:
                  type: text
                  label: Price
                  default: '10'
                  validate:
                    type: string

                header.default_photo:
                  toggleable: true
                  type: pagemediaselect
                  label: Default Photo
                  help: Used as the main product image
Validate price to string to avoid losing .00
Validate price to string to avoid losing .00
