aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/videos/+video-edit/video-update.component.html
blob: aa148311f8d3b89283cf9a0d2c8e48981eb6b0ff (plain) (tree)
1
2
3
4
5
6
7
8
9
                            
                                                 

                            
 
                                      
 
                  
                                                                                                         
                                                                                       
                                                                                       
                     
 
                                  
                                                                                                                      
                                                             
                                                         
            

          
      
<div class="margin-content">
  <div i18n class="title-page title-page-single">
    Update {{ video?.name }}
  </div>

  <form novalidate [formGroup]="form">

    <my-video-edit
      [form]="form" [formErrors]="formErrors" [schedulePublicationPossible]="schedulePublicationPossible"
      [validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels"
      [videoCaptions]="videoCaptions" [waitTranscodingEnabled]="waitTranscodingEnabled"
    ></my-video-edit>

    <div class="submit-container">
      <div class="submit-button" (click)="update()" [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }">
        <my-global-icon iconName="validate"></my-global-icon>
        <input type="button" i18n-value value="Update" />
      </div>
    </div>
  </form>
</div>