{{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=types
onChange=(action (mut field.type))
options=(hash
none="admin.wizard.field.type"
)}}
{{#if isInput}}
{{input type="number" name="min_length" value=field.min_length}}
{{/if}}
{{#if isDropdown}}
{{combo-box
value=field.choices_type
content=choicesTypes
onChange=(action (mut field.choices_type))
options=(hash
none="admin.wizard.field.choices_type"
)}}
{{#if choicesTranslation}}
{{input name="key" value=field.choices_key placeholderKey="admin.wizard.translation_placeholder"}}
{{/if}}
{{#if choicesCustom}}
{{wizard-mapper inputs=field.choices}}
{{/if}}
{{input name="dropdown_none" value=field.dropdown_none placeholder=(i18n 'admin.wizard.field.dropdown_none_placeholder')}}
{{/if}}
{{#if isUpload}}
{{input value=field.file_types}}
{{/if}}
{{#if isCategoryOrTag}}
{{input type="number" value=field.limit}}
{{/if}}
{{#if hasAdvanced}}
{{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.select_property'
)}}
{{/if}}
{{#if prefillEnabled}}
{{wizard-mapper inputs=field.prefill options=prefillOptions}}
{{/if}}
{{#if contentEnabled}}
{{wizard-mapper inputs=field.content options=contentOptions}}
{{/if}}
{{input name="key" value=field.key placeholderKey="admin.wizard.translation_placeholder"}}
{{/if}}
{{/if}}