mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-28 10:08:20 -05:00
19 lines
509 B
Handlebars
19 lines
509 B
Handlebars
|
{{#if collection}}
|
||
|
<div class='values'>
|
||
|
{{#each collection as |value|}}
|
||
|
<div class='value'>
|
||
|
{{d-button action="removeValue"
|
||
|
actionParam=value
|
||
|
icon="times"
|
||
|
class="btn-small no-text"}}
|
||
|
{{value}}
|
||
|
</div>
|
||
|
{{/each}}
|
||
|
</div>
|
||
|
{{/if}}
|
||
|
|
||
|
<div class='input'>
|
||
|
{{text-field value=newValue placeholderKey=addKey}}
|
||
|
{{d-button action="addValue" icon="plus" class="btn-primary btn-small no-text" disabled=inputInvalid}}
|
||
|
</div>
|