Commits
Alexandre Vryghem authored ac06f30950e
14 14 | </label> |
15 15 | <textarea [ngClass]="{ 'is-invalid' : isInvalid('review') }" |
16 16 | [required]="advancedInfo?.descriptionRequired" class="form-control" formControlName="review"> |
17 17 | </textarea> |
18 18 | <small *ngIf="isInvalid('review')" class="invalid-feedback d-block"> |
19 19 | {{ 'advanced-workflow-action.rating.form.review.error' | translate }} |
20 20 | </small> |
21 21 | </div> |
22 22 | |
23 23 | <div class="form-group"> |
24 - | <label class="control-label"> |
24 + | <label class="control-label mb-1"> |
25 25 | {{ 'advanced-workflow-action.rating.form.rating.label' | translate }}* |
26 26 | </label> |
27 - | <rating [max]="advancedInfo?.maxValue" [ngClass]="{ 'text-danger': isInvalid('rating') }" |
28 - | class="d-block" formControlName="rating"> |
29 - | </rating> |
27 + | <div class="d-block"> |
28 + | <ngb-rating [max]="advancedInfo?.maxValue" [ngClass]="{ 'text-danger': isInvalid('rating') }" |
29 + | formControlName="rating"> |
30 + | </ngb-rating> |
31 + | </div> |
30 32 | <small *ngIf="isInvalid('rating')" class="invalid-feedback d-block"> |
31 33 | {{ 'advanced-workflow-action.rating.form.rating.error' | translate }} |
32 34 | </small> |
33 35 | </div> |
34 36 | </form> |
35 37 | |
36 38 | <ds-modify-item-overview *ngIf="item$ | async" |
37 39 | [item]="item$ | async"> |
38 40 | </ds-modify-item-overview> |
39 41 | |