{{#accordion-list-item title=(t 'formLabelsAnnotations.title') detail=(t detailKey appName=settings.appName) showStatus=true status=status statusClass=statusClass expandAll=expandAll expand=(action expandFn) }}
{{#if editing}}
{{#if userLabelArray.length}} {{#each userLabelArray as |label|}} {{/each}}
{{input-paste pasted="pastedLabels" class="form-control input-sm key js-label" type="text" value=label.key placeholder="formUserLabels.key.placeholder" disabled=(eq label.readonly true)}} {{#if editing}} {{t 'formKeyValue.separator'}} {{/if}} {{input class="form-control input-sm" type="text" value=label.value placeholder=(t 'formUserLabels.value.placeholder') disabled=(eq label.readonly true)}}
{{t 'formUserLabels.protip'}}
{{/if}}
{{else}} {{#if model.canHaveLabels}} {{table-labels header=(t 'formUserLabels.title') model=model.labels }} {{/if}} {{/if}} {{#unless editing}}
{{/unless}}
{{#if editing}} {{form-key-value header=(t 'formAnnotations.title') editing=editing initialMap=model.annotations changed=(action "annotationsChange") addActionLabel="formAnnotations.addActionLabel" }} {{else}} {{table-labels header=(t 'formAnnotations.title') model=model.annotations labelIntlSec="annotationsSection" }} {{/if}}
{{/accordion-list-item}}