]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared-forms/reactive-file.component.html
Migrate to $localize
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-forms / reactive-file.component.html
CommitLineData
40e87e9e 1<div class="root">
7b992a86
C
2 <div class="button-file" [ngClass]="{ 'with-icon': !!icon }">
3 <my-global-icon *ngIf="icon" [iconName]="icon"></my-global-icon>
4
40e87e9e 5 <span>{{ inputLabel }}</span>
7b992a86 6
40e87e9e
C
7 <input
8 type="file"
9 [name]="inputName" [id]="inputName" [accept]="extensions"
772d5642 10 (change)="fileChange($event)" [(ngModel)]="fileInputValue"
40e87e9e
C
11 />
12 </div>
13
40e87e9e
C
14 <div class="filename" *ngIf="displayFilename === true && filename">{{ filename }}</div>
15</div>