diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-03-27 21:11:37 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-03-27 21:11:37 +0200 |
commit | d07137b90b2b2b0c1e93a6f0e7bf8719b133027c (patch) | |
tree | 0bb642609819bc1c8ff2761c848f8db3a9934d88 /client/src/app/videos/video-add/video-add.component.html | |
parent | 6f0c39e2de400685b7baf8340b9e132f2659365a (diff) | |
download | PeerTube-d07137b90b2b2b0c1e93a6f0e7bf8719b133027c.tar.gz PeerTube-d07137b90b2b2b0c1e93a6f0e7bf8719b133027c.tar.zst PeerTube-d07137b90b2b2b0c1e93a6f0e7bf8719b133027c.zip |
Client: add support for video licences
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 c6692b21d..97a3c846a 100644 --- a/client/src/app/videos/video-add/video-add.component.html +++ b/client/src/app/videos/video-add/video-add.component.html | |||
@@ -27,6 +27,18 @@ | |||
27 | </div> | 27 | </div> |
28 | 28 | ||
29 | <div class="form-group"> | 29 | <div class="form-group"> |
30 | <label for="licence">Licence</label> | ||
31 | <select class="form-control" id="licence" formControlName="licence"> | ||
32 | <option></option> | ||
33 | <option *ngFor="let licence of videoLicences" [value]="licence.id">{{ licence.label }}</option> | ||
34 | </select> | ||
35 | |||
36 | <div *ngIf="formErrors.licence" class="alert alert-danger"> | ||
37 | {{ formErrors.licence }} | ||
38 | </div> | ||
39 | </div> | ||
40 | |||
41 | <div class="form-group"> | ||
30 | <label for="tags">Tags</label> <span class="little-information">(press enter to add the tag)</span> | 42 | <label for="tags">Tags</label> <span class="little-information">(press enter to add the tag)</span> |
31 | <input | 43 | <input |
32 | type="text" class="form-control" id="currentTag" | 44 | type="text" class="form-control" id="currentTag" |