<div class="form-group" [class.has-error]="errorMessages.length">
    <label class="col-md-2 control-label">{{ label }}</label>
    <div class="col-md-5">
        <ng-content></ng-content>
        <div class="alert alert-danger" role="alert" *ngIf="errorMessages.length">
            <p *ngFor="#message of errorMessages">{{ message }}</p>
        </div>
    </div>
</div>
