Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | 2x | <ng-template #modal let-reviewModal> <ng-container *ishProductContextAccess="let product = product"> <form [formGroup]="form" ishFormSubmit #reviewForm="ngForm" (ngSubmit)="submitForm(product.sku)" class="form-horizontal" data-testing-id="create-product-review-form" > <div class="modal-content"> <div class="modal-header"> <h2 id="product-review-create-modal-title" class="modal-title"> {{ 'product.reviews.create.dialog.heading' | translate }} </h2> <button type="button" class="close" [title]="'dialog.close.text' | translate" (click)="hide()"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <div class="d-flex"> <ish-product-image imageType="S" [link]="true" /> <div> <ish-product-name [link]="false" /> <ish-product-id /> <ish-product-variation-display /> </div> </div> <p>{{ 'product.reviews.create.dialog.description.text' | translate }}</p> <formly-form [form]="form" [fields]="fields" [model]="model$ | async" /> </div> <div class="modal-footer"> <button type="submit" class="btn btn-primary" [disabled]="form.invalid && reviewForm.submitted"> {{ 'product.reviews.create.dialog.confirm.button.label' | translate }} </button> <button type="button" class="btn btn-secondary" (click)="hide()"> {{ 'product.reviews.create.dialog.cancel.button.label' | translate }} </button> </div> </div> </form> </ng-container> </ng-template> |