{{ forms.field({
label: "Configuration"|t('app'),
instructions: "Define the types of blocks that can be created within this Matrix field, as well as the fields each block type is made up of."|t('app'),
name: 'config'
}, blockTypeInput) }}
{% if craft.app.getIsMultiSite() %}
{{ forms.checkboxField({
label: "Manage blocks on a per-site basis"|t('app'),
id: 'localize-blocks',
name: 'localizeBlocks',
checked: matrixField.localizeBlocks
}) }}
{% endif %}
{{ forms.textField({
label: "Min Blocks"|t('app'),
instructions: "The minimum number of blocks the field is allowed to have."|t('app'),
id: 'minBlocks',
name: 'minBlocks',
value: matrixField.minBlocks,
size: 3,
errors: matrixField.getErrors('minBlocks')
}) }}
{{ forms.textField({
label: "Max Blocks"|t('app'),
instructions: "The maximum number of blocks the field is allowed to have."|t('app'),
id: 'maxBlocks',
name: 'maxBlocks',
value: matrixField.maxBlocks,
size: 3,
errors: matrixField.getErrors('maxBlocks')
}) }}