1
0
Fork 0
discourse-custom-wizard-unl.../assets/javascripts/discourse/templates/components/wizard-mapper.hbs
2022-04-04 12:01:36 +02:00

20 Zeilen
483 B
Handlebars

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