2 <div class=
"modal-header">
3 <h4 i18n
class=
"modal-title">Blacklist video
</h4>
4 <my-global-icon iconName=
"cross" aria-label=
"Close" role=
"button" (click)=
"hide()"></my-global-icon>
7 <div class=
"modal-body">
9 <form novalidate [formGroup]=
"form" (ngSubmit)=
"blacklist()">
10 <div class=
"form-group">
12 i18n-placeholder
placeholder=
"Reason..." formControlName=
"reason"
13 [ngClass]=
"{ 'input-error': formErrors['reason'] }" class=
"form-control"
15 <div *
ngIf=
"formErrors.reason" class=
"form-error">
16 {{ formErrors.reason }}
20 <div class=
"form-group" *
ngIf=
"video.isLocal">
22 inputName=
"unfederate" formControlName=
"unfederate"
23 i18n-labelText
labelText=
"Unfederate the video"
25 <ng-container ngProjectAs=
"description">
26 <span i18n
>This will ask remote instances to delete it
</span>
28 </my-peertube-checkbox>
31 <div class=
"form-group inputs">
33 type=
"button" role=
"button" i18n-value
value=
"Cancel" class=
"action-button action-button-cancel"
34 (click)=
"hide()" (key.enter)=
"hide()"
38 type=
"submit" i18n-value
value=
"Submit" class=
"action-button-submit"
39 [disabled]=
"!form.valid"