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

21 Zeilen
474 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"
2021-04-12 16:19:53 +02:00
onUpdate=(action "inputUpdated")}}
2020-04-06 10:36:38 +02:00
{{/if}}
2021-04-12 16:19:53 +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
2021-04-12 16:19:53 +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">
2021-04-12 16:19:53 +02:00
{{d-button action="add" label="admin.wizard.add" icon="plus"}}
2020-03-31 10:30:53 +02:00
</span>
2021-04-12 16:19:53 +02:00
{{/if}}