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



                                            
 
                                      
 

                                             
                                                                                                                         
                     
 
                                  
                                                                                                                      
                                                
                                              
            

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

  <form novalidate [formGroup]="form">

    <my-video-edit
      [form]="form" [formErrors]="formErrors"
      [validationMessages]="validationMessages" [videoPrivacies]="videoPrivacies" [userVideoChannels]="userVideoChannels"
    ></my-video-edit>

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