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 708a824da9..08803cbfd0 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 @@ -200,7 +200,15 @@ 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 6ab9bfcf63..9524c0816d 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,8 @@ - + + {{tr "Can only contain alphanumeric and underscore characters"}}