2017-10-06 04:59:02 +02:00
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.step.title'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
|
|
|
{{input name="title" value=step.title placeholderKey="admin.wizard.step.title_placeholder"}}
|
|
|
|
</div>
|
2017-09-23 04:34:07 +02:00
|
|
|
</div>
|
|
|
|
|
2017-10-06 04:59:02 +02:00
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.step.banner'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
|
|
|
{{input name="banner" value=step.banner placeholderKey="admin.wizard.step.banner_placeholder"}}
|
|
|
|
</div>
|
2017-09-23 04:34:07 +02:00
|
|
|
</div>
|
|
|
|
|
2017-10-06 04:59:02 +02:00
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.step.description'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
|
|
|
{{textarea name="description" value=step.description placeholderKey="admin.wizard.step.description_placeholder"}}
|
|
|
|
</div>
|
2017-09-23 04:34:07 +02:00
|
|
|
</div>
|
|
|
|
|
2017-10-06 04:59:02 +02:00
|
|
|
<div class="wizard-links">
|
|
|
|
<div class="wizard-header medium">{{i18n 'admin.wizard.field.header'}}</div>
|
|
|
|
{{#each fieldLinks as |f|}}
|
|
|
|
{{d-button action="changeField" actionParam=f.id translatedLabel=f.label class=f.classes}}
|
|
|
|
{{d-button action='removeField' actionParam=f.id icon='times' class='remove'}}
|
|
|
|
{{/each}}
|
|
|
|
{{d-button action='addField' label='admin.wizard.add' icon='plus'}}
|
|
|
|
</div>
|
2017-09-23 04:34:07 +02:00
|
|
|
|
2017-10-06 04:59:02 +02:00
|
|
|
{{#if currentField}}
|
|
|
|
{{wizard-custom-field field=currentField types=fieldTypes removeField="removeField"}}
|
|
|
|
{{/if}}
|
2017-09-23 04:34:07 +02:00
|
|
|
|
2017-10-06 04:59:02 +02:00
|
|
|
<div class="wizard-links">
|
|
|
|
<div class="wizard-header medium">{{i18n 'admin.wizard.action.header'}}</div>
|
|
|
|
{{#each actionLinks as |a|}}
|
|
|
|
{{d-button action="changeAction" actionParam=a.id translatedLabel=a.label class=a.classes}}
|
|
|
|
{{d-button action='removeAction' actionParam=a.id icon='times' class='remove'}}
|
|
|
|
{{/each}}
|
|
|
|
{{d-button action='addAction' label='admin.wizard.add' icon='plus'}}
|
|
|
|
</div>
|
2017-09-23 04:34:07 +02:00
|
|
|
|
2017-10-06 04:59:02 +02:00
|
|
|
{{#if currentAction}}
|
|
|
|
{{wizard-custom-action action=currentAction stepFields=step.fields removeAction="removeAction"}}
|
2017-09-23 04:34:07 +02:00
|
|
|
{{/if}}
|