{{combo-box value=action.type content=types onChange=(action (mut action.type)) options=(hash none="admin.wizard.field.type" )}}
{{#if basicTopicFields}}
{{wizard-field-mapper inputs=action.title wizardFields=wizardFields options=(hash hasOutput=true wizardFieldSelection=true userFieldSelection='key,value' )}}
{{combo-box value=action.post content=wizardFields nameProperty='label' onChange=(action (mut action.post)) options=(hash 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}}
{{wizard-text-editor value=action.post_template wizardFields=wizardFields}}
{{/if}} {{/if}} {{#if publicTopicFields}}
{{wizard-field-mapper inputs=action.category wizardFields=wizardFields options=(hash hasOutput=true categorySelection='output' wizardFieldSelection=true userFieldSelection='key,value' )}}
{{wizard-field-mapper inputs=action.tags wizardFields=wizardFields options=(hash hasOutput=true tagSelection='output' wizardFieldSelection=true userFieldSelection='key,value' )}}
{{/if}} {{#if newTopicFields}}
{{input type='checkbox' checked=action.skip_redirect}} {{i18n 'admin.wizard.action.skip_redirect.description' type='topic'}}
{{/if}} {{#if basicTopicFields}}
{{wizard-field-mapper inputs=action.add_fields wizardFields=wizardFields connectorKey='admin.wizard.action.add_fields.connector' options=(hash wizardFieldSelection=true )}}
{{/if}} {{#if sendMessage}}
{{wizard-field-mapper inputs=action.required wizardFields=wizardFields options=(hash enableConnectors=true wizardFieldSelection=true userFieldSelection=true groupSelection=true )}}
{{wizard-field-mapper inputs=action.recipient wizardFields=wizardFields options=(hash hasOutput=true wizardFieldSelection=true userFieldSelection=true groupSelection='key,value' )}}
{{/if}} {{#if updateProfile}}
{{wizard-field-mapper inputs=action.profile_updates wizardFields=wizardFields connectorKey='admin.wizard.action.add_fields.connector' options=(hash wizardFieldSelection=true userFieldSelection=true )}}
{{/if}} {{#if sendToApi}}
{{combo-box value=action.api content=availableApis onChange=(action (mut action.api)) options=(hash isDisabled=action.custom_title_enabled none='admin.wizard.action.send_to_api.select_an_api' )}}
{{combo-box value=action.api_endpoint content=availableEndpoints onChange=(action (mut action.api_endpoint)) options=(hash isDisabled=apiEmpty none='admin.wizard.action.send_to_api.select_an_endpoint' )}}
{{wizard-text-editor value=action.api_body previewEnabled=false barEnabled=false wizardFields=wizardFields placeholder='admin.wizard.action.send_to_api.body_placeholder'}}
{{/if}} {{#if addToGroup}}
{{wizard-field-mapper inputs=action.inputs wizardFields=wizardFields outputConnectorKey='admin.wizard.action.add_to_group.output_connector' options=(hash hasOutput=true enableConnectors=true wizardFieldSelection='key,value,assignment' userFieldSelection='key,value,assignment' groupSelection='value,output' )}}
{{/if}} {{#if routeTo}}
{{input value=action.url}}
{{input value=action.code}}
{{/if}}