Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-15 06:12:54 +01:00
20 Zeilen
474 B
Handlebars
20 Zeilen
474 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="add" label="admin.wizard.add" icon="plus"}}
|
|
</span>
|
|
{{/if}}
|