aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+my-library/my-ownership/my-accept-ownership/my-accept-ownership.component.html
blob: d0393a2a4f08d5799edb160d30e1857fa88eb269 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                            
                                                      

                                                                                                           



                                             
                                                                             

                                                                                                                    
                                                                                       



                                   
                        
            
                                                                                                 

                                                   

            

                                                                                     



              
<ng-template #modal let-close="close" let-dismiss="dismiss">
  <div class="modal-header">
    <h1 i18n class="modal-title">Accept ownership</h1>

    <my-global-icon iconName="cross" aria-label="Close" role="button" (click)="dismiss()"></my-global-icon>
  </div>

  <div class="modal-body" [formGroup]="form">
    <div class="form-group">
      <label i18n for="channel">Select a channel to receive the video</label>
      <my-select-channel labelForId="channel" formControlName="channel" [items]="videoChannels"></my-select-channel>

      <div *ngIf="formErrors.channel" class="form-error">{{ formErrors.channel }}</div>
    </div>
  </div>

  <div class="modal-footer inputs">
    <div class="inputs">
      <input
        type="button" role="button" i18n-value value="Cancel" class="peertube-button grey-button"
        (click)="dismiss()" (key.enter)="dismiss()"
      >

      <input
        type="submit" i18n-value value="Accept" class="peertube-button orange-button"
        (click)="close()"
      >
    </div>
  </div>
</ng-template>