aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-edit/video-update.component.html
blob: 3163495bfc872529c5f22e1d8db5237fa7903b51 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<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"
    ></my-video-edit>

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