{{input name="label" value=field.label}}
{{input name="key" value=field.key placeholderKey="admin.wizard.translation_placeholder"}}
{{image-uploader
imageUrl=field.image
onUploadDone=(action "imageUploadDone")
onUploadDeleted=(action "imageUploadDeleted")
type="wizard-step"
class="no-repeat contain-image"}}
{{textarea name="description" value=field.description}}
{{combo-box
value=field.type
content=types
onChange=(action (mut field.type))
options=(hash
none="admin.wizard.field.type"
)}}
{{i18n 'admin.wizard.field.required_label'}}
{{input type='checkbox' checked=field.required}}
{{#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-field-mapper
inputs=field.choices
wizardFields=wizardFields}}
{{/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 isCategory}}
{{combo-box
value=field.property
content=categoryPropertyTypes
onChange=(action (mut field.property))
options=(hash
none='admin.wizard.select_property'
)}}
{{/if}}
{{#if isCategoryOrTag}}
{{input type="number" value=field.limit}}
{{/if}}
{{wizard-field-mapper
inputs=field.prefill
wizardFields=wizardFields
options=prefillOptions}}
{{#if contentEnabled}}
{{wizard-field-mapper
inputs=field.content
wizardFields=wizardFields
options=contentOptions}}
{{/if}}