0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-30 04:30:29 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/wizard-mapper-pair.hbs

29 Zeilen
616 B
Handlebars

2020-04-01 07:03:26 +02:00
<div class="key mapper-block">
{{wizard-mapper-selector
selectorType='key'
inputType=inputType
value=pair.key
activeType=pair.key_type
options=options}}
</div>
2020-04-02 07:21:57 +02:00
{{wizard-mapper-connector
connector=pair.connector
connectors=connectors}}
2020-04-01 07:03:26 +02:00
<div class="value mapper-block">
{{wizard-mapper-selector
selectorType='value'
inputType=inputType
value=pair.value
activeType=pair.value_type
options=options}}
</div>
{{#if showJoin}}
<span class="join-pair">&</span>
{{/if}}
{{#if showRemove}}
2020-04-07 10:33:51 +02:00
<a {{action removePair pair}} class="remove-pair">{{d-icon 'times'}}</a>
2020-04-01 07:03:26 +02:00
{{/if}}