{{#if showUndo}} {{d-button action="undoChanges" icon=undoIcon label=undoKey class="undo-changes"}} {{/if}}
{{input name="label" value=field.label}}
{{i18n 'admin.wizard.field.required_label'}} {{input type='checkbox' checked=field.required}}
{{textarea name="description" value=field.description}}
{{image-uploader imageUrl=field.image onUploadDone=(action "imageUploadDone") onUploadDeleted=(action "imageUploadDeleted") type="wizard-step" class="no-repeat contain-image"}}
{{combo-box value=field.type content=fieldTypes onChange=(action "changeType") options=(hash none="admin.wizard.select_type" )}}
{{wizard-message key=messageKey url=messageUrl component='field'}} {{#if isTextType}}
{{input type="number" name="min_length" value=field.min_length class="small"}}
{{input type="number" name="max_length" value=field.max_length class="small"}}
{{!-- /* learning_step * unit: custom_wizard:templates_and_builder * type: step * number: 1 * title: Add the attribute to the template * description: First, add a new setting block to allow the site admin to * administer how the attribute will work. Here we can see the * controls for the Character Counter field attribute. Note * the attribute is only available for text type fields (see * isTextType conditional above this block). Note the * consistent use of the ``setting``, ``setting-label`` and * ``setting-value`` HTML structure throughout this component, * and other Custom Wizard admin components. */ --}}
{{i18n 'admin.wizard.field.char_counter_placeholder'}} {{input type="checkbox" checked=field.char_counter}}
{{/if}} {{#if isUpload}}
{{input value=field.file_types class="medium"}}
{{/if}} {{#if showLimit}}
{{input type="number" value=field.limit class="small"}}
{{/if}} {{#if isDateTime}}
{{input value=field.format class="medium"}}
{{/if}} {{#if showPrefill}}
{{wizard-mapper inputs=field.prefill property='prefill' onUpdate=(action 'mappedFieldUpdated') options=prefillOptions}}
{{/if}} {{#if showContent}}
{{wizard-mapper inputs=field.content property='content' onUpdate=(action 'mappedFieldUpdated') options=contentOptions}}
{{/if}} {{#if showAdvanced}} {{wizard-advanced-toggle showAdvanced=field.showAdvanced}} {{#if field.showAdvanced}}
{{#if isCategory}}
{{combo-box value=field.property content=categoryPropertyTypes onChange=(action (mut field.property)) options=(hash none='admin.wizard.selector.placeholder.property' )}}
{{/if}}
{{input name="key" value=field.key class="medium" placeholderKey="admin.wizard.translation_placeholder"}}
{{#if validations}} {{wizard-realtime-validations field=field validations=validations}} {{/if}}
{{/if}} {{/if}}