{{#if (gte rule.custom.length 0)}} {{#input-or-display editable=editing value=rule.custom}} {{input type="text" class="form-control input-sm" placeholder=(t 'formScheduling.nodeSelector.custom.placeholder') value=rule.custom}} {{/input-or-display}} {{else}} {{input type="text" class="form-control input-sm" value=rule.key}}   {{new-select class="form-control input-sm" content=operatorChoices localizedHtmlLabel=true value=rule.operator readOnly=editing style="display: inline-block; width: auto;" }}   {{#if isJustLabel}} {{t 'generic.na'}} {{else if isMultiple}} {{#input-or-display editable=editing value=rule.value}} {{input type="text" class="form-control input-sm" value=rule.value placeholder=(t 'formScheduling.nodeSelector.multiple.placeholder')}} {{/input-or-display}} {{else}} {{#input-or-display editable=editing value=rule.value}} {{input type="text" class="form-control input-sm" value=rule.value}} {{/input-or-display}} {{/if}} {{/if}}   {{#if editing}}
{{/if}}