{{#unless editing}}
{{#if containersOnRequestedHostIfUnmanaged.length}} {{else}} {{t 'formContainerLinks.noContainers'}} {{/if}}
{{/unless}} {{#if linksArray.length}} {{#each linksArray as |link|}} {{/each}}
{{t 'formContainerLinks.targetInstance.label'}}   {{t 'formContainerLinks.name.label'}}  
{{new-select classNames="form-control link-container input-sm" prompt="formContainerLinks.targetInstance.prompt" value=link.targetInstanceId content=containersOnRequestedHostIfUnmanaged optionValuePath="id" optionLabelPath="name" optionGroupPath="group" }}

{{#if editing}}

{{link.name}}

{{else}} {{input class="form-control input-sm" type="text" value=link.name placeholder=(t 'formContainerLinks.name.placeholder')}} {{/if}}
{{#unless link.existing}} {{/unless}}
{{else}} {{#if editing}} {{t 'formContainerLinks.noLinks'}} {{/if}} {{/if}}