{% import "_includes/forms" as forms %}

{{ forms.textField({
    label: "Default Value"|t('app'),
    id: 'defaultValue',
    name: 'defaultValue',
    value: field.defaultValue,
    size: 5,
    errors: field.getErrors('defaultValue')
}) }}

{{ forms.textField({
    label: "Min Value"|t('app'),
    id: 'min',
    name: 'min',
    value: field.min,
    size: 5,
    errors: field.getErrors('min')
}) }}

{{ forms.textField({
    label: "Max Value"|t('app'),
    id: 'max',
    name: 'max',
    value: field.max,
    size: 5,
    errors: field.getErrors('max')
}) }}

{{ forms.textField({
    label: "Decimal Points"|t('app'),
    id: 'decimals',
    name: 'decimals',
    value: field.decimals,
    size: 1,
    errors: field.getErrors('decimals')
}) }}

{{ forms.textField({
    label: "Size"|t('app'),
    id: 'size',
    name: 'size',
    value: field.size,
    size: 2,
    errors: field.getErrors('size')
}) }}

{{ forms.textField({
    label: "Prefix Text"|t('app'),
    instructions: "Text that should be shown before the input."|t('app'),
    id: 'prefix',
    name: 'prefix',
    value: field.prefix,
    errors: field.getErrors('prefix')
}) }}

{{ forms.textField({
    label: "Suffix Text"|t('app'),
    instructions: "Text that should be shown after the input."|t('app'),
    id: 'suffix',
    name: 'suffix',
    value: field.suffix,
    errors: field.getErrors('suffix')
}) }}
