diff --git a/docs-web/src/main/webapp/src/locale/en.json b/docs-web/src/main/webapp/src/locale/en.json index efc52757..590fef80 100644 --- a/docs-web/src/main/webapp/src/locale/en.json +++ b/docs-web/src/main/webapp/src/locale/en.json @@ -562,7 +562,7 @@ "email": "Must be a valid e-mail", "password_confirm": "Password and password confirmation must match", "number": "Number required", - "no_space": "Spaces are not allowed" + "no_space": "Spaces and colons are not allowed" }, "action_type": { "ADD_TAG": "Add a tag", diff --git a/docs-web/src/main/webapp/src/partial/docs/document.add.tag.html b/docs-web/src/main/webapp/src/partial/docs/document.add.tag.html index 993c9724..c36eb53c 100644 --- a/docs-web/src/main/webapp/src/partial/docs/document.add.tag.html +++ b/docs-web/src/main/webapp/src/partial/docs/document.add.tag.html @@ -1,14 +1,18 @@ -
+ -
+
-   +
+   + + +
diff --git a/docs-web/src/main/webapp/src/partial/docs/tag.html b/docs-web/src/main/webapp/src/partial/docs/tag.html index a2f3e2dc..bb1fd7c7 100644 --- a/docs-web/src/main/webapp/src/partial/docs/tag.html +++ b/docs-web/src/main/webapp/src/partial/docs/tag.html @@ -13,13 +13,17 @@
- -

+ +

  + + +
+
- {{ 'add' | translate }} -

+ ng-maxlength="36" required ng-model="tag.name" ui-validate="{ space: '!$value || $value.indexOf(\' \') == -1 && $value.indexOf(\':\') == -1' }"> +
+ {{ 'add' | translate }} {{ 'validation.no_space' | translate }}