{{i18n "admin.wizard.id"}}
{{input value=action.id placeholderKey='admin.wizard.id_placeholder' disabled=disableId}}
{{i18n "admin.wizard.type"}}
{{combo-box value=action.type content=types none="admin.wizard.field.type"}}
{{#if basicTopicFields}}
{{i18n "admin.wizard.action.title"}}
{{combo-box value=action.title
content=availableFields
nameProperty="label"
none='admin.wizard.select_field'
isDisabled=action.custom_title_enabled}}
{{input type='checkbox' checked=action.custom_title_enabled}}
{{i18n 'admin.wizard.action.custom_title'}}
{{#if action.custom_title_enabled}}
{{input value=action.custom_title}}
{{/if}}
{{i18n "admin.wizard.action.post"}}
{{combo-box value=action.post content=availableFields
nameProperty='label'
none='admin.wizard.select_field'
isDisabled=action.post_builder}}
{{input type='checkbox' checked=action.post_builder}}
{{i18n 'admin.wizard.action.post_builder.checkbox'}}
{{#if action.post_builder}}
{{i18n 'admin.wizard.action.post_builder.label'}}
{{d-editor value=action.post_template
placeholder='admin.wizard.action.interpolate_fields'
classNames='post-builder-editor'}}
{{/if}}
{{/if}}
{{#if publicTopicFields}}
{{i18n "admin.wizard.action.create_topic.category"}}
{{category-chooser value=action.category_id isDisabled=action.custom_category_enabled}}
{{input type='checkbox' checked=action.custom_category_enabled}}
{{i18n 'admin.wizard.action.custom_category.label'}}
{{#if action.custom_category_enabled}}
{{input type='checkbox' checked=action.custom_category_wizard_field}}
{{i18n 'admin.wizard.action.custom_category.wizard_field'}}
{{#if action.custom_category_wizard_field}}
{{combo-box value=action.category_id
content=availableFields
nameProperty="label"
none='admin.wizard.select_field'}}
{{/if}}
{{input type='checkbox' checked=action.custom_category_user_field}}
{{i18n 'admin.wizard.action.custom_category.user_field'}}
{{#if action.custom_category_user_field}}
{{input value=action.custom_category_user_field_key}}
{{/if}}
{{/if}}
{{i18n "admin.wizard.action.create_topic.tags"}}
{{tag-chooser tags=action.tags
filterable=true
allowCreate=true
isDisabled=action.custom_category_enabled}}
{{/if}}
{{#if newTopicFields}}
{{i18n "admin.wizard.action.skip_redirect.label"}}
{{input type='checkbox' checked=action.skip_redirect}}
{{i18n 'admin.wizard.action.skip_redirect.description' type='topic'}}
{{/if}}
{{#if createTopic}}
{{wizard-custom-inputs inputs=action.add_fields
valueContent=availableFields
inputKey='admin.wizard.action.topic_attr'
noneValue='admin.wizard.select_field'
allowCustomField=true}}
{{/if}}
{{#if sendMessage}}
{{i18n "admin.wizard.action.send_message.recipient"}}
{{user-selector single="true"
includeMentionableGroups="true"
usernames=action.username
allowedUsers="true"}}
{{wizard-custom-inputs inputs=action.add_fields
keyContent=availableFields
valuePlaceholder='admin.wizard.action.topic_attr'}}
{{/if}}
{{#if updateProfile}}
{{wizard-custom-inputs inputs=action.profile_updates
valueContent=profileFields
keyContent=availableFields
noneValue='admin.wizard.action.update_profile.profile_field'
allowCustomField=true
allowUserField=true}}
{{/if}}
{{#if sendToApi}}
{{i18n "admin.wizard.action.send_to_api.api"}}
{{combo-box value=action.api
content=availableApis
none='admin.wizard.action.send_to_api.select_an_api'
isDisabled=action.custom_title_enabled}}
{{i18n "admin.wizard.action.send_to_api.endpoint"}}
{{combo-box value=action.api_endpoint
content=availableEndpoints
none='admin.wizard.action.send_to_api.select_an_endpoint'
isDisabled=apiEmpty}}
{{i18n "admin.wizard.action.send_to_api.body"}}
{{textarea value=action.api_body
placeholder=(i18n 'admin.wizard.action.interpolate_fields')}}
{{/if}}
{{#if addToGroup}}
{{i18n "admin.wizard.action.add_to_group.group_selection"}}
{{combo-box value=action.group_id
content=availableFields
nameProperty="label"
none='admin.wizard.select_field'
isDisabled=action.custom_group_enabled}}
{{input type='checkbox' checked=action.custom_group_enabled}}
{{i18n 'admin.wizard.action.add_to_group.custom_group'}}
{{#if action.custom_group_enabled}}
{{input value=action.group_id}}
{{/if}}
{{/if}}
{{#if routeTo}}
{{i18n "admin.wizard.action.route_to.url"}}
{{input value=action.url}}
{{i18n "admin.wizard.action.route_to.code"}}
{{input value=action.code}}
{{/if}}
{{#if openComposer}}
{{/if}}