1 <ng-template #modal
let-close=
"close" let-dismiss=
"dismiss">
2 <div class=
"modal-header">
3 <h1 i18n
class=
"modal-title">Accept ownership
</h1>
5 <my-global-icon iconName=
"cross" aria-label=
"Close" role=
"button" (click)=
"dismiss()"></my-global-icon>
8 <div class=
"modal-body" [formGroup]=
"form">
9 <div class=
"form-group">
10 <label i18n
for=
"channel">Select a channel to receive the video
</label>
11 <div class=
"peertube-select-container">
12 <select formControlName=
"channel" id=
"channel" class=
"form-control">
13 <option i18n
value=
"undefined" disabled
>Channel that will receive the video
</option>
14 <option *
ngFor=
"let channel of videoChannels" [value]=
"channel.id">{{ channel.displayName }}
18 <div *
ngIf=
"formErrors.channel" class=
"form-error">{{ formErrors.channel }}
</div>
22 <div class=
"modal-footer inputs">
25 type=
"button" role=
"button" i18n-value
value=
"Cancel" class=
"action-button action-button-cancel"
26 (click)=
"dismiss()" (key.enter)=
"dismiss()"
30 type=
"submit" i18n-value
value=
"Accept" class=
"action-button-submit"