Refactor how we use icons
[oweals/peertube.git] / client / src / app / videos / +video-edit / video-update.component.html
1 <div class="margin-content">
2   <div i18n class="title-page title-page-single">
3     Update {{ video?.name }}
4   </div>
5
6   <form novalidate [formGroup]="form">
7
8     <my-video-edit
9       [form]="form" [formErrors]="formErrors" [schedulePublicationPossible]="schedulePublicationPossible"
10       [validationMessages]="validationMessages" [videoPrivacies]="videoPrivacies" [userVideoChannels]="userVideoChannels"
11       [videoCaptions]="videoCaptions" [waitTranscodingEnabled]="waitTranscodingEnabled"
12     ></my-video-edit>
13
14     <div class="submit-container">
15       <div class="submit-button" (click)="update()" [ngClass]="{ disabled: !form.valid || isUpdatingVideo === true }">
16         <my-global-icon iconName="validate"></my-global-icon>
17         <input type="button" i18n-value value="Update" />
18       </div>
19     </div>
20   </form>
21 </div>