mirror of https://github.com/Ombi-app/Ombi
parent
094e1ce69f
commit
68078271d9
@ -1,22 +1,23 @@
|
||||
<h1 mat-dialog-title>{{ 'MediaDetails.RequestOnBehalf' | translate}}</h1>
|
||||
<div mat-dialog-content>
|
||||
<form class="example-form">
|
||||
<mat-form-field class="example-full-width">
|
||||
<mat-form-field class="example-full-width" appearance="outline" floatLabel=auto>
|
||||
<mat-label>{{ 'MediaDetails.PleaseSelectUser' | translate}}</mat-label>
|
||||
<input type="text"
|
||||
placeholder="{{ 'MediaDetails.PleaseSelectUser' | translate}}"
|
||||
aria-label="Number"
|
||||
matInput
|
||||
[formControl]="myControl"
|
||||
[matAutocomplete]="auto">
|
||||
<mat-autocomplete #auto="matAutocomplete" [displayWith]="displayFn">
|
||||
<mat-option *ngFor="let option of filteredOptions | async" [value]="option">
|
||||
{{option.username}}
|
||||
{{displayFn(option)}}
|
||||
</mat-option>
|
||||
</mat-autocomplete>
|
||||
</mat-form-field>
|
||||
</form>
|
||||
</div>
|
||||
<div mat-dialog-actions>
|
||||
<button mat-raised-button (click)="onNoClick()"> Cancel</button>
|
||||
<button mat-raised-button (click)="onNoClick()">{{'Common.Cancel' | translate}}</button>
|
||||
<button mat-raised-button (click)="request()" color="accent" [mat-dialog-close]="userId" cdkFocusInitial>{{'Common.Request' | translate}}</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in new issue