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

23 lines
903 B
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]="[ '/videos/watch', video.uuid ]">{{ 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"
2018-12-11 13:52:50 +00:00
[videoCaptions]="videoCaptions" [waitTranscodingEnabled]="waitTranscodingEnabled"
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">
2018-02-16 16:24:47 +00:00
<div class="submit-button" (click)="update()" [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }">
<my-global-icon iconName="circle-tick" aria-hidden="true"></my-global-icon>
2018-06-04 14:21:17 +00:00
<input type="button" i18n-value value="Update" />
2017-12-07 13:48:47 +00:00
</div>
2017-04-21 16:26:09 +00:00
</div>
</form>
</div>