]>
Commit | Line | Data |
---|---|---|
1 | <div class="margin-content"> | |
2 | <div class="title-page title-page-single"> | |
3 | <span class="mr-1" i18n>Update</span> | |
4 | <a [routerLink]="[ '/videos/watch', video.uuid ]">{{ video?.name }}</a> | |
5 | </div> | |
6 | ||
7 | <form novalidate [formGroup]="form"> | |
8 | ||
9 | <my-video-edit | |
10 | [form]="form" [formErrors]="formErrors" [schedulePublicationPossible]="schedulePublicationPossible" | |
11 | [validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels" | |
12 | [videoCaptions]="videoCaptions" [waitTranscodingEnabled]="waitTranscodingEnabled" | |
13 | ></my-video-edit> | |
14 | ||
15 | <div class="submit-container"> | |
16 | <my-button className="orange-button" i18n-label label="Update" icon="circle-tick" | |
17 | (click)="update()" (keydown.enter)="update()" | |
18 | [disabled]="!form.valid || isUpdatingVideo === true" | |
19 | ></my-button> | |
20 | </div> | |
21 | </form> | |
22 | </div> |