{{#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=(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-subscription-container}}
{{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"}}
{{/wizard-subscription-container}}
{{wizard-links itemType="step" current=currentStep items=wizard.steps}} {{#if currentStep}} {{wizard-custom-step step=currentStep wizard=wizard currentField=currentField wizardFields=wizardFields fieldTypes=fieldTypes subscribed=subscribed}} {{/if}} {{wizard-links itemType="action" current=currentAction items=wizard.actions generateLabels=true}} {{#each wizard.actions as |wizardAction|}} {{wizard-custom-action action=wizardAction currentActionId=currentAction.id wizard=wizard apis=apis removeAction=(action "removeAction") wizardFields=wizardFields}} {{/each}}
{{#unless creating}} {{/unless}} {{conditional-loading-spinner condition=saving size="small"}} {{#if error}} {{d-icon "times"}}{{error}} {{/if}}
{{/if}}