0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2025-02-15 09:17:02 +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 18:36:38 +10:00
{{#if input.connector}}
2020-04-20 19:41:13 +10:00
{{wizard-mapper-connector
connector=input.connector
connectorType="input"
2023-07-10 07:55:54 +01:00
onUpdate=(action "inputUpdated")
}}
2020-04-06 18:36:38 +10:00
{{/if}}
2021-04-12 19:49:53 +05:30
{{wizard-mapper-input
2020-03-22 04:30:11 +11:00
input=input
2024-11-22 16:45:50 +01:00
options=this.inputOptions
2021-04-12 19:49:53 +05:30
remove=(action "remove")
2023-07-10 07:55:54 +01:00
onUpdate=(action "inputUpdated")
}}
2018-05-24 15:34:58 +10:00
{{/each}}
2020-03-22 04:30:11 +11:00
2024-11-22 16:45:50 +01:00
{{#if this.canAdd}}
2020-04-01 16:03:26 +11: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 19:30:53 +11:00
</span>
2023-07-10 07:55:54 +01:00
{{/if}}