Updated lingo

This commit is contained in:
Zakary Timson 2018-08-20 10:56:40 -04:00
parent f318d4e382
commit b57e3cc2cc
2 changed files with 2 additions and 2 deletions

View File

@ -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">

View File

@ -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>