{{#if hasName}}
{{model.name}}
{{/if}}
{{input name="name" value=model.name placeholderKey="admin.wizard.name_placeholder"}}
{{i18n 'admin.wizard.label'}}
{{input name="background" value=model.background placeholderKey="admin.wizard.background_placeholder"}}
{{input type='checkbox' checked=model.save_submissions}} {{i18n 'admin.wizard.save_submissions_label'}}
{{input type='checkbox' checked=model.multiple_submissions}} {{i18n 'admin.wizard.multiple_submissions_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.after_time}} {{i18n 'admin.wizard.after_time_label'}} {{d-button action='setNextSessionScheduled' translatedLabel=nextSessionScheduledLabel class="btn-after-time" icon='far-calendar'}}
{{input type='checkbox' checked=model.prompt_completion}} {{i18n 'admin.wizard.prompt_completion_label'}}
{{i18n 'admin.wizard.min_trust_label'}} {{input type='number' value=model.min_trust class='input-small'}}
{{combo-box content=model.themes valueProperty='id' value=model.theme_id onChange=(action (mut model.theme_id)) options=(hash none='admin.wizard.no_theme' )}}
{{input type='checkbox' checked=model.restart_on_revisit}} {{i18n 'admin.wizard.restart_on_revisit_label'}}
{{wizard-field-mapper inputs=model.group options=(hash hasOutput=true enableConnectors=true userFieldSelection='key,value' groupSelection=true textDisabled='output' )}}
{{wizard-links type="step" current=currentStep items=model.steps}} {{#if currentStep}} {{wizard-custom-step step=currentStep wizard=model}} {{/if}}
{{#unless newWizard}} {{/unless}} {{conditional-loading-spinner condition=saving size='small'}} {{#if error}} {{d-icon "times"}}{{error}} {{/if}}