<div class="form-group row">
    <label for="text-{{ id }}" class="col-2">{{ label }}</label>
    <div class="col-10">
        <div class="input-group">
            <input id="text-{{ id }}" type="{{ show ? 'text' : 'password' }}" class="form-control"
                   (ngModelChange)="passwordChange.emit($event)" [ngModel]="password">
            <div class="input-group-append">
                <button class="btn btn-warning" (click)="toggleShow()">{{ show ? 'Hide' : 'Show' }}</button>
            </div>
        </div>
        <small class="form-text text-muted" *ngIf="help">{{ help }}</small>
    </div>
</div>