21 lines
724 B
HTML
21 lines
724 B
HTML
<h2 mat-dialog-title class="text">Settings</h2>
|
|
|
|
<mat-dialog-content [formGroup]="settingsForm">
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Name</mat-label>
|
|
<input matInput placeholder="Name" formControlName="name">
|
|
</mat-form-field>
|
|
<mat-form-field appearance="outline">
|
|
<mat-label>Currency</mat-label>
|
|
<mat-select formControlName="currency">
|
|
<mat-option *ngFor="let coin of coins" [value]="coin.symbol">
|
|
{{coin.label}}
|
|
</mat-option>
|
|
</mat-select>
|
|
</mat-form-field>
|
|
</mat-dialog-content>
|
|
|
|
<mat-dialog-actions>
|
|
<button mat-raised-button class="text" (click)="close()">Cancel</button>
|
|
<button mat-raised-button class="text" color="primary" (click)="save()">Save</button>
|
|
</mat-dialog-actions>
|