0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 18:50:27 +01:00
discourse-custom-wizard/assets/javascripts/discourse/components/wizard-mapper-pair.hbs

43 Zeilen
908 B
Handlebars

2024-11-22 16:45:50 +01:00
<div class="key mapper-block">
{{wizard-mapper-selector
selectorType="key"
inputType=this.inputType
value=this.pair.key
activeType=this.pair.key_type
options=this.options
onUpdate=this.onUpdate
}}
</div>
{{wizard-mapper-connector
connector=this.pair.connector
connectors=this.connectors
connectorType="pair"
inputType=this.inputType
options=this.options
onUpdate=this.onUpdate
}}
<div class="value mapper-block">
{{wizard-mapper-selector
selectorType="value"
inputType=this.inputType
value=this.pair.value
activeType=this.pair.value_type
options=this.options
onUpdate=this.onUpdate
connector=this.pair.connector
}}
</div>
{{#if this.showJoin}}
<span class="join-pair">&</span>
{{/if}}
{{#if this.showRemove}}
2024-11-22 16:51:24 +01:00
<a
role="button"
{{action this.removePair this.pair}}
class="remove-pair"
>{{d-icon "times"}}</a>
2024-11-22 16:45:50 +01:00
{{/if}}