Updated lingo
This commit is contained in:
parent
f318d4e382
commit
b57e3cc2cc
@ -14,7 +14,7 @@
|
|||||||
<textarea matInput rows="5" placeholder="Description" name="description" [(ngModel)]="description"></textarea>
|
<textarea matInput rows="5" placeholder="Description" name="description" [(ngModel)]="description"></textarea>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<div class="mt-3 p-3 border rounded border-muted">
|
<div class="mt-3 p-3 border rounded border-muted">
|
||||||
<h5 mat-subheader class="mb-4 pl-0">Buying Options</h5>
|
<h5 mat-subheader class="mb-4 pl-0">Pricing Options</h5>
|
||||||
<button mat-stroked-button class="mb-4" color="accent" (click)="addOption()">Add</button>
|
<button mat-stroked-button class="mb-4" color="accent" (click)="addOption()">Add</button>
|
||||||
<mat-accordion>
|
<mat-accordion>
|
||||||
<mat-expansion-panel *ngFor="let o of options; let i = index">
|
<mat-expansion-panel *ngFor="let o of options; let i = index">
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<div class="col-12 col-md-9">
|
<div class="col-12 col-md-9">
|
||||||
<h2 class="roboto">{{product.name}}</h2>
|
<h2 class="roboto">{{product.name}}</h2>
|
||||||
<mat-form-field *ngIf="product.options.length > 1">
|
<mat-form-field *ngIf="product.options.length > 1">
|
||||||
<mat-select placeholder="Buying Options" [(ngModel)]="option">
|
<mat-select placeholder="Pricing Options" [(ngModel)]="option">
|
||||||
<mat-option *ngFor="let o of product.options" [value]="o">
|
<mat-option *ngFor="let o of product.options" [value]="o">
|
||||||
{{o.name}} <span class="float-right text-muted">{{o.currency}} {{o.price | currency}}</span>
|
{{o.name}} <span class="float-right text-muted">{{o.currency}} {{o.price | currency}}</span>
|
||||||
</mat-option>
|
</mat-option>
|
||||||
|
Loading…
Reference in New Issue
Block a user