]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+videos/+video-edit/video-update.component.html
4376f6fe4b70400f32540d6f01f19e22a9f044bf
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-edit / video-update.component.html
1 <div class="margin-content">
2 <div class="title-page title-page-single">
3 <span class="mr-1" i18n>Update</span>
4 <a [routerLink]="getVideoUrl()">{{ video?.name }}</a>
5 </div>
6
7 <form novalidate [formGroup]="form">
8
9 <my-video-edit
10 [form]="form" [formErrors]="formErrors" [forbidScheduledPublication]="forbidScheduledPublication"
11 [validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels"
12 [videoCaptions]="videoCaptions" [waitTranscodingEnabled]="isWaitTranscodingEnabled()"
13 type="update" (pluginFieldsAdded)="hydratePluginFieldsFromVideo()"
14 [liveVideo]="liveVideo" [videoToUpdate]="videoDetails"
15
16 (formBuilt)="onFormBuilt()"
17 ></my-video-edit>
18
19 <div class="submit-container">
20 <my-button className="orange-button" i18n-label label="Update" icon="circle-tick"
21 (click)="update()" (keydown.enter)="update()"
22 [disabled]="!form.valid || isUpdatingVideo === true"
23 ></my-button>
24 </div>
25 </form>
26 </div>