diff options
Diffstat (limited to 'client/src/app/videos/video-add/video-add.component.html')
-rw-r--r-- | client/src/app/videos/video-add/video-add.component.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/client/src/app/videos/video-add/video-add.component.html b/client/src/app/videos/video-add/video-add.component.html index b6be0d782..c6692b21d 100644 --- a/client/src/app/videos/video-add/video-add.component.html +++ b/client/src/app/videos/video-add/video-add.component.html | |||
@@ -15,6 +15,18 @@ | |||
15 | </div> | 15 | </div> |
16 | 16 | ||
17 | <div class="form-group"> | 17 | <div class="form-group"> |
18 | <label for="category">Category</label> | ||
19 | <select class="form-control" id="category" formControlName="category"> | ||
20 | <option></option> | ||
21 | <option *ngFor="let category of videoCategories" [value]="category.id">{{ category.label }}</option> | ||
22 | </select> | ||
23 | |||
24 | <div *ngIf="formErrors.category" class="alert alert-danger"> | ||
25 | {{ formErrors.category }} | ||
26 | </div> | ||
27 | </div> | ||
28 | |||
29 | <div class="form-group"> | ||
18 | <label for="tags">Tags</label> <span class="little-information">(press enter to add the tag)</span> | 30 | <label for="tags">Tags</label> <span class="little-information">(press enter to add the tag)</span> |
19 | <input | 31 | <input |
20 | type="text" class="form-control" id="currentTag" | 32 | type="text" class="form-control" id="currentTag" |