]>
Commit | Line | Data |
---|---|---|
4cc66133 | 1 | <div class="margin-content"> |
c4a05171 | 2 | <div class="title-page"> |
4c8749cb | 3 | <span class="me-1" i18n>Update</span> |
0146f351 | 4 | <a [routerLink]="getVideoUrl()">{{ videoDetails?.name }}</a> |
4cc66133 | 5 | </div> |
1cdb5c0f | 6 | |
897ec54d | 7 | <form novalidate [formGroup]="form"> |
6e07c3de | 8 | |
ff249f49 | 9 | <my-video-edit |
4afec735 | 10 | [form]="form" [formErrors]="formErrors" [forbidScheduledPublication]="forbidScheduledPublication" |
851f5daa | 11 | [validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels" |
080f1402 | 12 | [videoCaptions]="videoCaptions" [hideWaitTranscoding]="isWaitTranscodingHidden()" |
7294aab0 | 13 | type="update" (pluginFieldsAdded)="hydratePluginFieldsFromVideo()" |
0f319334 | 14 | [liveVideo]="liveVideo" [videoToUpdate]="videoDetails" |
2e401e85 | 15 | [videoSource]="videoSource" |
0ba9696c C |
16 | |
17 | (formBuilt)="onFormBuilt()" | |
ff249f49 | 18 | ></my-video-edit> |
dc8bc31b | 19 | |
4cc66133 | 20 | <div class="submit-container"> |
1fe1e14c | 21 | <my-button className="orange-button" i18n-label label="Update" icon="circle-tick" |
7294aab0 | 22 | (click)="update()" (keydown.enter)="update()" |
1fe1e14c RK |
23 | [disabled]="!form.valid || isUpdatingVideo === true" |
24 | ></my-button> | |
897ec54d C |
25 | </div> |
26 | </form> | |
897ec54d | 27 | </div> |