FEATURE: Multiple embeddable hosts

- Also refactors two site settings components into one, with tests
This commit is contained in:
Robin Ward
2015-06-09 12:19:41 -04:00
parent 71ee84f848
commit 7b6d6b76eb
35 changed files with 183 additions and 102 deletions

View File

@@ -0,0 +1,18 @@
{{#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>