13 lines
No EOL
672 B
HTML
13 lines
No EOL
672 B
HTML
<div class="form-group row">
|
|
<label for="num-{{ id }}" class="col-2">{{ label }}</label>
|
|
<div class="col-10">
|
|
<div class="input-group">
|
|
<input id="num-{{ id }}" type="number" class="form-control" (ngModelChange)="numberChange.emit($event)"
|
|
[ngModel]="number" min="{{ min }}" max="{{ max }}" step="{{ step }}">
|
|
<div class="input-group-append" *ngIf="postButtonText">
|
|
<button class="btn btn-outline-primary" (click)="postButton.emit($event)">{{ postButtonText }}</button>
|
|
</div>
|
|
</div>
|
|
<small class="form-text text-muted" *ngIf="help">{{ help }}</small>
|
|
</div>
|
|
</div> |