2020-04-20 10:07:10 -04:00
|
|
|
{{#d-modal-body
|
|
|
|
title=(theme-prefix "builder.title")
|
|
|
|
class="discourse-placeholder-builder"
|
2022-06-18 15:27:31 -04:00
|
|
|
style="overflow: auto"
|
|
|
|
}}
|
2020-04-20 10:07:10 -04:00
|
|
|
<form>
|
|
|
|
<div class="control">
|
|
|
|
<span class="label">
|
|
|
|
{{theme-i18n "builder.key.label"}}
|
|
|
|
</span>
|
|
|
|
<div class="input">
|
|
|
|
{{input
|
|
|
|
value=(readonly form.key)
|
|
|
|
input=(action (mut form.key) value="target.value")
|
|
|
|
}}
|
|
|
|
</div>
|
|
|
|
<p class="description">{{theme-i18n "builder.key.description"}}</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="control">
|
|
|
|
<span class="label">
|
|
|
|
{{theme-i18n "builder.description.label"}}
|
|
|
|
</span>
|
|
|
|
<div class="input">
|
|
|
|
{{input
|
|
|
|
value=(readonly form.description)
|
|
|
|
input=(action (mut form.description) value="target.value")
|
|
|
|
}}
|
|
|
|
</div>
|
2022-06-18 15:27:31 -04:00
|
|
|
<p class="description">
|
|
|
|
{{theme-i18n
|
|
|
|
"builder.description.description"
|
|
|
|
}}
|
|
|
|
</p>
|
2020-04-20 10:07:10 -04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="control">
|
|
|
|
<span class="label">
|
|
|
|
{{theme-i18n "builder.values.label"}}
|
|
|
|
</span>
|
|
|
|
<div class="input">
|
|
|
|
{{multi-select
|
|
|
|
valueProperty=null
|
|
|
|
nameProperty=null
|
|
|
|
value=form.values
|
|
|
|
content=form.values
|
2022-06-18 15:27:31 -04:00
|
|
|
options=(hash allowAny=true placementStrategy="absolute")
|
2020-04-20 10:07:10 -04:00
|
|
|
onChange=(action (mut form.values))
|
|
|
|
}}
|
|
|
|
</div>
|
|
|
|
<p class="description">{{theme-i18n "builder.values.description"}}</p>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
{{/d-modal-body}}
|
|
|
|
|
|
|
|
<div class="modal-footer discourse-local-dates-create-modal-footer">
|
|
|
|
{{d-button
|
|
|
|
class="btn-primary"
|
|
|
|
action=(action "insertPlaceholder")
|
|
|
|
label=(theme-prefix "builder.insert")
|
|
|
|
}}
|
|
|
|
</div>
|