1 <div class=
"video-edit row" [formGroup]=
"form">
4 <div class=
"form-group">
5 <label for=
"name">Title
</label>
6 <input type=
"text" id=
"name" formControlName=
"name" />
7 <div *
ngIf=
"formErrors.name" class=
"form-error">
12 <div class=
"form-group">
13 <label class=
"label-tags">Tags
</label> <span>(press Enter to add)
</span>
15 [ngModel]=
"tags" [validators]=
"tagValidators" [errorMessages]=
"tagValidatorsMessages"
16 formControlName=
"tags" maxItems=
"5" modelAsStrings=
"true"
20 <div class=
"form-group">
21 <label for=
"description">Description
</label>
22 <my-markdown-textarea truncate=
"250" formControlName=
"description"></my-markdown-textarea>
24 <div *
ngIf=
"formErrors.description" class=
"form-error">
25 {{ formErrors.description }}
30 <div class=
"col-md-4">
31 <div class=
"form-group">
32 <label>Channel
</label>
33 <div class=
"peertube-select-disabled-container">
34 <select formControlName=
"channelId">
35 <option *
ngFor=
"let channel of userVideoChannels" [value]=
"channel.id">{{ channel.label }}
</option>
40 <div class=
"form-group">
41 <label for=
"category">Category
</label>
42 <div class=
"peertube-select-container">
43 <select id=
"category" formControlName=
"category">
45 <option *
ngFor=
"let category of videoCategories" [value]=
"category.id">{{ category.label }}
</option>
49 <div *
ngIf=
"formErrors.category" class=
"form-error">
50 {{ formErrors.category }}
54 <div class=
"form-group">
55 <label for=
"licence">Licence
</label>
56 <div class=
"peertube-select-container">
57 <select id=
"licence" formControlName=
"licence">
59 <option *
ngFor=
"let licence of videoLicences" [value]=
"licence.id">{{ licence.label }}
</option>
63 <div *
ngIf=
"formErrors.licence" class=
"form-error">
64 {{ formErrors.licence }}
68 <div class=
"form-group">
69 <label for=
"language">Language
</label>
70 <div class=
"peertube-select-container">
71 <select id=
"language" formControlName=
"language">
73 <option *
ngFor=
"let language of videoLanguages" [value]=
"language.id">{{ language.label }}
</option>
77 <div *
ngIf=
"formErrors.language" class=
"form-error">
78 {{ formErrors.language }}
82 <div class=
"form-group">
83 <label for=
"privacy">Privacy
</label>
84 <div class=
"peertube-select-container">
85 <select id=
"privacy" formControlName=
"privacy">
87 <option *
ngFor=
"let privacy of videoPrivacies" [value]=
"privacy.id">{{ privacy.label }}
</option>
91 <div *
ngIf=
"formErrors.privacy" class=
"form-error">
92 {{ formErrors.privacy }}
96 <div class=
"form-group form-group-checkbox">
97 <input type=
"checkbox" id=
"nsfw" formControlName=
"nsfw" />
98 <label for=
"nsfw"></label>
99 <label for=
"nsfw">This video contains mature or explicit content
</label>
102 <div class=
"form-group form-group-checkbox">
103 <input type=
"checkbox" id=
"commentsEnabled" formControlName=
"commentsEnabled" />
104 <label for=
"commentsEnabled"></label>
105 <label for=
"commentsEnabled">Enable video comments
</label>