{{input name="name" value=model.name placeholderKey="admin.wizard.name_placeholder"}}
{{#if model.name}} {{wizardUrl}} {{/if}}
{{input name="background" value=model.background placeholderKey="admin.wizard.background_placeholder" class="medium"}}
{{combo-box content=model.themes valueProperty='id' value=model.theme_id onChange=(action (mut model.theme_id)) options=(hash none='admin.wizard.no_theme' )}}
{{i18n 'admin.wizard.label'}}
{{input type='checkbox' checked=model.required}} {{i18n 'admin.wizard.required_label'}}
{{input type='checkbox' checked=model.after_signup}} {{i18n 'admin.wizard.after_signup_label'}}
{{input type='checkbox' checked=model.multiple_submissions}} {{i18n 'admin.wizard.multiple_submissions_label'}}
{{input type='checkbox' checked=model.prompt_completion}} {{i18n 'admin.wizard.prompt_completion_label'}}
{{input type='checkbox' checked=model.after_time}} {{i18n 'admin.wizard.after_time_label'}} {{d-button action='setNextSessionScheduled' translatedLabel=nextSessionScheduledLabel class="btn-after-time" icon='far-calendar'}}
{{wizard-mapper inputs=model.permitted options=(hash context='wizard' inputTypes='assignment,validation' groupSelection='output' userFieldSelection='key' textSelection='value' inputConnector='and' )}}
{{wizard-advanced-toggle showAdvanced=model.showAdvanced}} {{#if model.showAdvanced}}
{{input type='checkbox' checked=model.save_submissions}} {{i18n 'admin.wizard.save_submissions_label'}}
{{input type='checkbox' checked=model.restart_on_revisit}} {{i18n 'admin.wizard.restart_on_revisit_label'}}
{{/if}}
{{wizard-links type="step" current=currentStep items=model.steps}} {{#if currentStep}} {{wizard-custom-step step=currentStep wizard=model currentField=currentField currentAction=currentAction wizardFields=wizardFields}} {{/if}}
{{#unless newWizard}} {{/unless}} {{conditional-loading-spinner condition=saving size='small'}} {{#if error}} {{d-icon "times"}}{{error}} {{/if}}