Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-24 02:10:29 +01:00
43 Zeilen
Kein EOL
908 B
Handlebars
43 Zeilen
Kein EOL
908 B
Handlebars
<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}}
|
|
<a
|
|
role="button"
|
|
{{action this.removePair this.pair}}
|
|
class="remove-pair"
|
|
>{{d-icon "times"}}</a>
|
|
{{/if}} |