app/templates/components/repository-subjects.hbs
<div class="form-group">
<label class="control-label col-md-3" data-test-subjects>Repository Discipline (optional)</label>
<div class="col-md-9">
<div class="label-vertical">Subject, keyword, classification code, or key phrase describing the resource.</div>
{{#each this.model.subjects as |subject index|}}
<DoiSubject @model={{this.model}} @fragment={{subject}} @form={{this.form}} @index={{index}} @simple={{true}} />
{{/each}}
{{#if (lte this.model.subjects.length 6)}}
<BsButton class="btn-sm" id="add-subject" @outline={{true}} @onClick={{action "addSubject"}}><i class="fas fa-plus"></i> Add {{if (gt this.model.subjects.length 0) "another "}} Discipline</BsButton>
{{/if}}
</div>
</div>