0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-14 05:52:52 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/wizard-mapper.hbs

20 Zeilen
476 B
Handlebars

2018-05-24 07:34:58 +02:00
{{#each inputs as |input|}}
2020-04-06 10:36:38 +02:00
{{#if input.connector}}
2020-04-20 11:41:13 +02:00
{{wizard-mapper-connector
connector=input.connector
connectorType="input"
onUpdate=(action 'inputUpdated')}}
2020-04-06 10:36:38 +02:00
{{/if}}
2020-04-01 07:03:26 +02:00
{{wizard-mapper-input
2020-03-21 18:30:11 +01:00
input=input
2020-04-01 07:03:26 +02:00
options=inputOptions
2020-04-20 11:41:13 +02:00
remove=(action 'remove')
onUpdate=(action 'inputUpdated')}}
2018-05-24 07:34:58 +02:00
{{/each}}
2020-03-21 18:30:11 +01:00
2020-03-30 08:16:03 +02:00
{{#if canAdd}}
2020-04-01 07:03:26 +02:00
<span class="add-mapper-input">
2020-03-30 08:16:03 +02:00
{{d-button action='add' label='admin.wizard.add' icon='plus'}}
2020-03-31 10:30:53 +02:00
</span>
2020-03-30 08:16:03 +02:00
{{/if}}