@if (title) {
{{ title }}
} @for (propertyGroup of propertyGroups; track propertyGroup) { @if (propertyGroup.visible) { @if (propertyGroup.title) {
{{ propertyGroup.title | customTranslate }}
} @if (!propertyGroup.title) { } } }
@for (propertyContainer of propertyContainers; track propertyContainer) { @if (propertyContainer.visible) { @if (propertyContainer.type === FormPropertyContainerType.field) { } @if (propertyContainer.type === FormPropertyContainerType.row) { } @if (propertyContainer.type === FormPropertyContainerType.fieldset) { } @if (propertyContainer.type === FormPropertyContainerType.array) { @if (propertyContainer.arrayItemProperty.type === FormPropertyType.image) {
} @if (propertyContainer.arrayItemProperty.type !== FormPropertyType.image) { } } @if (propertyContainer.type === FormPropertyContainerType.htmlSection) {
} }
}
@if (propertyRow.switch && propertyRow.switch.visible) {
{{ propertyRow.label | customTranslate }}
} @if (!propertyRow.switch) {
{{ propertyRow.label | customTranslate }}
} @if (propertyRow.properties.length) {
@for (property of propertyRow.properties; track property) { @if (property.visible) { @if (property.subLabel) {
{{ property.subLabel | customTranslate }}
} @if (isInputFieldPropertyType(property.type)) { } @if (property.type === FormPropertyType.color) { } @if (property.type === FormPropertyType.color_settings) { } @if (property.type === FormPropertyType.font) { } @if (property.type === FormPropertyType.units) { } @if (property.type === FormPropertyType.icon) { } @if (property.divider) { } } }
}
@if (property.type === FormPropertyType.textarea) { @if (singleField) { {{ property.name | customTranslate }} } } @if ([FormPropertyType.text, FormPropertyType.password].includes(property.type)) { @if (singleField) { {{ property.name | customTranslate }} } @if (property.fieldSuffix) {
{{ property.fieldSuffix | customTranslate }}
}
} @if (property.type === FormPropertyType.number) { @if (singleField) { {{ property.name | customTranslate }} } @if (property.fieldSuffix) {
{{ property.fieldSuffix | customTranslate }}
}
} @if (property.type === FormPropertyType.select) { @if (singleField) { {{ property.name | customTranslate }} } @if (!property.multiple && property.allowEmptyOption) { } @for (item of property.items; track item) { {{ item.label | customTranslate }} } } @if (property.type === FormPropertyType.datetime) { } @if (property.type === FormPropertyType.javascript) {
} @if (property.type === FormPropertyType.json) {
} @if (property.type === FormPropertyType.html) {
} @if (property.type === FormPropertyType.css) {
} @if (property.type === FormPropertyType.markdown) {
} @if (property.type === FormPropertyType.image) {
} @if (property.type === FormPropertyType.radios) {
{{ property.name | customTranslate }}
@for (item of property.items; track item) {
{{ item.label | customTranslate }}
}
}