1
0
Fork 0
peertube/client/src/app/+videos/+video-edit/video-update.component.html

27 lines
1.0 KiB
HTML
Raw Normal View History

2017-12-07 13:48:47 +00:00
<div class="margin-content">
<div class="title-page title-page-single">
<span class="mr-1" i18n>Update</span>
<a [routerLink]="getVideoUrl()">{{ video?.name }}</a>
2017-12-07 13:48:47 +00:00
</div>
2016-06-04 18:37:38 +00:00
2017-04-21 16:26:09 +00:00
<form novalidate [formGroup]="form">
2017-03-22 20:15:55 +00:00
2017-12-07 10:15:19 +00:00
<my-video-edit
[form]="form" [formErrors]="formErrors" [schedulePublicationPossible]="schedulePublicationPossible"
[validationMessages]="validationMessages" [userVideoChannels]="userVideoChannels"
2021-01-26 09:56:55 +00:00
[videoCaptions]="videoCaptions" [waitTranscodingEnabled]="isWaitTranscodingEnabled()"
type="update" (pluginFieldsAdded)="hydratePluginFieldsFromVideo()"
2021-04-22 12:25:32 +00:00
[liveVideo]="liveVideo" [videoToUpdate]="videoDetails"
2021-10-22 13:51:02 +00:00
(formBuilt)="onFormBuilt()"
2017-12-07 10:15:19 +00:00
></my-video-edit>
2016-03-14 12:50:19 +00:00
2017-12-07 13:48:47 +00:00
<div class="submit-container">
<my-button className="orange-button" i18n-label label="Update" icon="circle-tick"
(click)="update()" (keydown.enter)="update()"
[disabled]="!form.valid || isUpdatingVideo === true"
></my-button>
2017-04-21 16:26:09 +00:00
</div>
</form>
</div>