20 lines
552 B
Handlebars
20 lines
552 B
Handlebars
{{outlet}}
|
|
|
|
<ul class="env-vars">
|
|
{{#each controller itemController="envVar"}}
|
|
<li class="env-var">
|
|
{{#if isEditing}}
|
|
{{partial 'env_vars/form'}}
|
|
{{else}}
|
|
<span class="name">{{name}}</span>
|
|
<span class="equals">=</span>
|
|
<span class="value value-display">{{value}}</span>
|
|
<a href="#" class="edit-var" {{action "edit"}}>Edit</a>
|
|
<a href="#" {{action "delete"}} {{bind-attr class=":delete-var isDeleting:deleting"}}>
|
|
Delete
|
|
</a>
|
|
{{/if}}
|
|
</li>
|
|
{{/each}}
|
|
</ul>
|