2017-10-07 04:27:38 +02:00
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
2017-10-13 15:02:34 +02:00
|
|
|
<h3>{{i18n 'admin.wizard.id'}}</h3>
|
2017-10-07 04:27:38 +02:00
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
2020-03-29 09:49:33 +02:00
|
|
|
{{input
|
|
|
|
name="id"
|
|
|
|
value=step.id
|
|
|
|
placeholderKey="admin.wizard.id_placeholder"
|
|
|
|
disabled=disableId}}
|
2017-10-13 15:02:34 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="setting">
|
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.key'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
2020-03-29 09:49:33 +02:00
|
|
|
{{input
|
|
|
|
name="key"
|
|
|
|
value=step.key
|
|
|
|
placeholderKey="admin.wizard.key_placeholder"}}
|
2017-10-07 04:27:38 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
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">
|
2020-03-29 09:49:33 +02:00
|
|
|
{{input
|
|
|
|
name="title"
|
|
|
|
value=step.title}}
|
2017-10-06 04:59:02 +02:00
|
|
|
</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">
|
2020-03-29 09:49:33 +02:00
|
|
|
{{input
|
|
|
|
name="banner"
|
|
|
|
value=step.banner
|
|
|
|
placeholderKey="admin.wizard.step.banner_placeholder"}}
|
2017-10-06 04:59:02 +02:00
|
|
|
</div>
|
2017-09-23 04:34:07 +02:00
|
|
|
</div>
|
|
|
|
|
2017-11-02 03:22:13 +01:00
|
|
|
<div class="setting full">
|
2017-10-06 04:59:02 +02:00
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.step.description'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
2020-03-29 09:49:33 +02:00
|
|
|
{{wizard-text-editor value=step.raw_description}}
|
2017-10-06 04:59:02 +02:00
|
|
|
</div>
|
2017-09-23 04:34:07 +02:00
|
|
|
</div>
|
|
|
|
|
2020-03-29 09:49:33 +02:00
|
|
|
<div class="setting full field-mapper-setting">
|
2019-07-02 06:49:14 +02:00
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.step.required_data.label'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
2020-03-24 10:35:46 +01:00
|
|
|
{{wizard-field-mapper
|
2020-03-21 18:30:11 +01:00
|
|
|
inputs=step.required_data
|
|
|
|
wizardFields=wizardFields
|
|
|
|
keyPlaceholder="admin.wizard.submission_key"
|
|
|
|
options=(hash
|
|
|
|
enableConnectors=true
|
2020-03-24 10:35:46 +01:00
|
|
|
wizardFieldSelection='value'
|
|
|
|
userFieldSelection='value'
|
2020-03-21 18:30:11 +01:00
|
|
|
)}}
|
2019-07-27 09:01:29 +02:00
|
|
|
{{#if step.required_data}}
|
|
|
|
<div class="required-data-message">
|
2019-07-27 09:14:07 +02:00
|
|
|
<div class="label">
|
|
|
|
{{i18n 'admin.wizard.step.required_data.not_permitted_message'}}
|
|
|
|
</div>
|
2019-07-27 09:01:29 +02:00
|
|
|
{{input value=step.required_data_message}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2019-07-02 06:49:14 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2020-03-29 09:49:33 +02:00
|
|
|
<div class="setting full field-mapper-setting">
|
2019-07-02 06:49:14 +02:00
|
|
|
<div class="setting-label">
|
|
|
|
<h3>{{i18n 'admin.wizard.step.permitted_params.label'}}</h3>
|
|
|
|
</div>
|
|
|
|
<div class="setting-value">
|
2020-03-24 10:35:46 +01:00
|
|
|
{{wizard-field-mapper
|
2020-03-21 18:30:11 +01:00
|
|
|
inputs=step.permitted_params
|
|
|
|
wizardFields=wizardFields
|
|
|
|
keyPlaceholder='admin.wizard.param_key'
|
|
|
|
valuePlaceholder='admin.wizard.submission_key'
|
|
|
|
connectorKey='admin.wizard.step.permitted_params.connector'}}
|
2019-07-02 06:49:14 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-10-17 15:17:53 +02:00
|
|
|
{{wizard-links type="field" current=currentField items=step.fields}}
|
2020-03-21 18:30:11 +01:00
|
|
|
|
2017-10-06 04:59:02 +02:00
|
|
|
{{#if currentField}}
|
2020-03-21 18:30:11 +01:00
|
|
|
{{wizard-custom-field
|
|
|
|
field=currentField
|
|
|
|
types=wizard.fieldTypes
|
|
|
|
removeField="removeField"
|
|
|
|
wizardFields=wizardFields}}
|
2017-10-06 04:59:02 +02:00
|
|
|
{{/if}}
|
2017-09-23 04:34:07 +02:00
|
|
|
|
2017-10-17 09:18:53 +02:00
|
|
|
{{wizard-links type="action" current=currentAction items=step.actions}}
|
2020-03-21 18:30:11 +01:00
|
|
|
|
2017-10-06 04:59:02 +02:00
|
|
|
{{#if currentAction}}
|
2020-03-21 18:30:11 +01:00
|
|
|
{{wizard-custom-action
|
|
|
|
action=currentAction
|
|
|
|
wizard=wizard
|
|
|
|
removeAction="removeAction"
|
2020-03-29 09:49:33 +02:00
|
|
|
wizardFields=wizardFields}}
|
|
|
|
{{/if}}
|