Files
YoutubeDL-Material/src/app/dialogs/add-user-dialog/add-user-dialog.component.html
Isaac Abadi 0efbd11d29 Converted input placeholders to mat-label
Various style improvements

Updated translations
2022-11-27 12:10:45 -05:00

21 lines
806 B
HTML

<h4 mat-dialog-title i18n="Register user dialog title">Register a user</h4>
<mat-dialog-content>
<div>
<mat-form-field>
<mat-label i18n="User name">User name</mat-label>
<input matInput [(ngModel)]="usernameInput">
</mat-form-field>
</div>
<div>
<mat-form-field>
<mat-label i18n="Password">Password</mat-label>
<input matInput [(ngModel)]="passwordInput" type="password">
</mat-form-field>
</div>
</mat-dialog-content>
<mat-dialog-actions>
<button color="accent" (click)="createUser()" mat-raised-button><ng-container i18n="Register user button">Register</ng-container></button>
<button mat-dialog-close mat-button><ng-container i18n="Close button">Close</ng-container></button>
</mat-dialog-actions>