diff --git a/src/sunstone/public/app/tabs/oneflow-templates-tab/form-panels/create.js b/src/sunstone/public/app/tabs/oneflow-templates-tab/form-panels/create.js
index 08803cbfd0..d48279127f 100644
--- a/src/sunstone/public/app/tabs/oneflow-templates-tab/form-panels/create.js
+++ b/src/sunstone/public/app/tabs/oneflow-templates-tab/form-panels/create.js
@@ -104,8 +104,8 @@ define(function(require) {
$(".service_networks tbody").append(
'
\
\
- \
- '+Locale.tr("Only word characters are allowed")+'\
+ \
+ '+Locale.tr("Can only contain alphanumeric and underscore characters")+'\
| \
\
\
@@ -201,14 +201,6 @@ define(function(require) {
$(document).foundation('tab', 'reflow');
- context.foundation({
- abide : {
- patterns: {
- word_chars: /^\w+$/
- }
- }
- });
-
// Add first role
$("#tf_btn_roles", context).trigger("click");
diff --git a/src/sunstone/public/app/tabs/oneflow-templates-tab/utils/role-tab/html.hbs b/src/sunstone/public/app/tabs/oneflow-templates-tab/utils/role-tab/html.hbs
index 9524c0816d..d6f9e22b74 100644
--- a/src/sunstone/public/app/tabs/oneflow-templates-tab/utils/role-tab/html.hbs
+++ b/src/sunstone/public/app/tabs/oneflow-templates-tab/utils/role-tab/html.hbs
@@ -19,7 +19,7 @@
-
+
{{tr "Can only contain alphanumeric and underscore characters"}}
diff --git a/src/sunstone/public/app/utils/user-inputs.js b/src/sunstone/public/app/utils/user-inputs.js
index 2e47a569da..272a01a5d8 100644
--- a/src/sunstone/public/app/utils/user-inputs.js
+++ b/src/sunstone/public/app/utils/user-inputs.js
@@ -50,9 +50,6 @@ define(function(require) {
}
function _setup(context){
-
- // TODO: bug, user_input_name pattern is ignored
-
context.on("click", ".add_user_input_attr", function() {
$(".user_input_attrs tbody", context).append(RowTemplateHTML());
diff --git a/src/sunstone/public/app/utils/user-inputs/row.hbs b/src/sunstone/public/app/utils/user-inputs/row.hbs
index 9c38ce4964..bd719f60a3 100644
--- a/src/sunstone/public/app/utils/user-inputs/row.hbs
+++ b/src/sunstone/public/app/utils/user-inputs/row.hbs
@@ -1,8 +1,8 @@
|
|
|