{{#if wizard}}
{{input name="name" value=wizard.name placeholderKey="admin.wizard.name_placeholder"}}
{{#if wizard.name}} {{#if copiedUrl}} {{d-button class="btn-hover pull-right" icon="copy" label="ip_lookup.copied"}} {{else}} {{d-button action=(action "copyUrl") class="pull-right no-text" icon="copy"}} {{/if}} {{wizardUrl}} {{/if}}
{{input name="background" value=wizard.background placeholderKey="admin.wizard.background_placeholder" class="small"}}
{{combo-box content=themes valueProperty="id" value=wizard.theme_id onChange=(action (mut wizard.theme_id)) options=(hash none="admin.wizard.no_theme" )}}
{{i18n "admin.wizard.label"}}
{{input type="checkbox" checked=wizard.required}} {{i18n "admin.wizard.required_label"}}
{{input type="checkbox" checked=wizard.after_signup}} {{i18n "admin.wizard.after_signup_label"}}
{{input type="checkbox" checked=wizard.multiple_submissions}} {{i18n "admin.wizard.multiple_submissions_label"}}
{{input type="checkbox" checked=wizard.prompt_completion}} {{i18n "admin.wizard.prompt_completion_label"}}
{{input type="checkbox" checked=wizard.after_time}} {{i18n "admin.wizard.after_time_label"}} {{d-button action="setNextSessionScheduled" translatedLabel=nextSessionScheduledLabel class="btn-after-time" icon="far-calendar"}}
{{wizard-mapper inputs=wizard.permitted options=(hash context="wizard" inputTypes="assignment,validation" groupSelection="output" userFieldSelection="key" textSelection="value" inputConnector="and" )}}
{{wizard-advanced-toggle showAdvanced=wizard.showAdvanced}} {{#if wizard.showAdvanced}}
{{input type="checkbox" checked=wizard.save_submissions}} {{i18n "admin.wizard.save_submissions_label"}}
{{input type="checkbox" checked=wizard.restart_on_revisit}} {{i18n "admin.wizard.restart_on_revisit_label"}}
{{input type="checkbox" checked=wizard.resume_on_revisit}} {{i18n "admin.wizard.resume_on_revisit_label"}}
{{/if}}
{{wizard-links itemType="step" current=currentStep items=wizard.steps}} {{#if currentStep}} {{wizard-custom-step step=currentStep wizard=wizard currentField=currentField wizardFields=wizardFields fieldTypes=fieldTypes}} {{/if}} {{wizard-links itemType="action" current=currentAction items=wizard.actions generateLabels=true}} {{#each wizard.actions as |action|}} {{wizard-custom-action action=action currentActionId=currentAction.id wizard=wizard apis=apis removeAction="removeAction" wizardFields=wizardFields fieldTypes=fieldTypes}} {{/each}}
{{#unless creating}} {{/unless}} {{conditional-loading-spinner condition=saving size="small"}} {{#if error}} {{d-icon "times"}}{{error}} {{/if}}
{{/if}}