0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 10:40:28 +01:00
discourse-custom-wizard/assets/javascripts/discourse/components/wizard-mapper.hbs
2024-11-22 16:45:50 +01:00

22 Zeilen
Kein EOL
505 B
Handlebars

{{#each this.inputs as |input|}}
{{#if input.connector}}
{{wizard-mapper-connector
connector=input.connector
connectorType="input"
onUpdate=(action "inputUpdated")
}}
{{/if}}
{{wizard-mapper-input
input=input
options=this.inputOptions
remove=(action "remove")
onUpdate=(action "inputUpdated")
}}
{{/each}}
{{#if this.canAdd}}
<span class="add-mapper-input">
{{d-button action=(action "add") label="admin.wizard.add" icon="plus"}}
</span>
{{/if}}