@for (role of rolesToPick; track role) {
{{ roleToLabel(role) }}
}
@if (value.length === 0) {
editor.record.form.field.contactsForResource.noContact
}
@if (roleSectionsToDisplay && roleSectionsToDisplay.length > 0) {
@for (
role of roleSectionsToDisplay;
track role;
let index = $index;
let isLast = $last
) {
{{
roleToLabel(role)
}}
@if (role !== 'unspecified' && role !== 'other') {
}
@if (contactsForRessourceByRole.get(role); as contacts) {
}
@if (!isLast) {
}
}
}