{{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}}
{{#if createTopic}}

{{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.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.post_builder.placeholder' classNames='post-builder-editor'}}
{{/if}}

{{i18n "admin.wizard.action.skip_redirect.label"}}

{{input type='checkbox' checked=action.skip_redirect}} {{i18n 'admin.wizard.action.skip_redirect.description' type='topic'}}
{{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.title"}}

{{combo-box value=action.title content=availableFields nameProperty='label' none='admin.wizard.select_field'}}

{{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.post_builder.placeholder' classNames='post-builder-editor'}}
{{/if}}

{{i18n "admin.wizard.action.send_message.recipient"}}

{{user-selector single="true" includeMentionableGroups="true" usernames=action.username allowedUsers="true"}}

{{i18n "admin.wizard.action.skip_redirect.label"}}

{{input type='checkbox' checked=action.skip_redirect}} {{i18n 'admin.wizard.action.skip_redirect.description' type='message'}}
{{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}}