From 00a446454d4721fc49517815655f6b4f8a17b554 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 10 Jun 2016 17:43:40 +0200 Subject: Add tags support to the video list --- client/src/app/videos/video-add/video-add.component.html | 4 ++-- client/src/app/videos/video-add/video-add.component.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/videos/video-add') 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 6b2eb9377..bcd78c7cb 100644 --- a/client/src/app/videos/video-add/video-add.component.html +++ b/client/src/app/videos/video-add/video-add.component.html @@ -21,12 +21,12 @@ ngControl="tags" #tags="ngForm" [disabled]="isTagsInputDisabled" (keyup)="onTagKeyPress($event)" [(ngModel)]="currentTag" >
- A tag should be between 2 and 10 characters long + A tag should be between 2 and 10 characters (alphanumeric) long
-
+
{{ tag }} x
diff --git a/client/src/app/videos/video-add/video-add.component.ts b/client/src/app/videos/video-add/video-add.component.ts index 2b45ea125..7d8fbdc29 100644 --- a/client/src/app/videos/video-add/video-add.component.ts +++ b/client/src/app/videos/video-add/video-add.component.ts @@ -1,6 +1,6 @@ import { Control, ControlGroup, Validators } from '@angular/common'; import { Component, ElementRef, OnInit } from '@angular/core'; -import { Router } from '@angular/router-deprecated'; +import { Router } from '@angular/router'; import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'; import { PROGRESSBAR_DIRECTIVES } from 'ng2-bootstrap/components/progressbar'; -- cgit v1.2.3