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

22 Zeilen
505 B
Handlebars

2024-11-22 16:45:50 +01:00
{{#each this.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"
2023-07-10 08:55:54 +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
2024-11-22 16:45:50 +01:00
options=this.inputOptions
2021-04-12 16:19:53 +02:00
remove=(action "remove")
2023-07-10 08:55:54 +02:00
onUpdate=(action "inputUpdated")
}}
2018-05-24 07:34:58 +02:00
{{/each}}
2020-03-21 18:30:11 +01:00
2024-11-22 16:45:50 +01:00
{{#if this.canAdd}}
2020-04-01 07:03:26 +02:00
<span class="add-mapper-input">
2022-03-29 21:15:09 +02:00
{{d-button action=(action "add") label="admin.wizard.add" icon="plus"}}
2020-03-31 10:30:53 +02:00
</span>
2023-07-10 08:55:54 +02:00
{{/if}}