2021-10-28 20:34:48 +00:00
|
|
|
<h2 mat-dialog-title class="text">Settings</h2>
|
|
|
|
|
|
|
|
<mat-dialog-content [formGroup]="settingsForm">
|
2021-11-22 20:37:45 +00:00
|
|
|
<mat-form-field appearance="outline">
|
|
|
|
<mat-label>Name</mat-label>
|
2021-10-28 20:34:48 +00:00
|
|
|
<input matInput placeholder="Name" formControlName="name">
|
|
|
|
</mat-form-field>
|
2021-11-22 20:37:45 +00:00
|
|
|
<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>
|
2021-10-28 20:34:48 +00:00
|
|
|
</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>
|