From 0dc93ed3bb8e3e05a688b5d070a84ac10ec2bf1c Mon Sep 17 00:00:00 2001 From: lpichler Date: Thu, 27 Jul 2017 13:40:27 +0200 Subject: [PATCH] use ViewHelper prefix module for constant --- app/views/static/ops/tenant/tenant.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/static/ops/tenant/tenant.html.haml b/app/views/static/ops/tenant/tenant.html.haml index 4137ad5ace3..82816554b72 100644 --- a/app/views/static/ops/tenant/tenant.html.haml +++ b/app/views/static/ops/tenant/tenant.html.haml @@ -14,7 +14,7 @@ "name" => "name", "ng-model" => "vm.tenantModel.name", "ng-disabled" => "vm.tenantModel.default && vm.tenantModel.use_config_for_attributes", - "maxlength" => "#{MAX_NAME_LEN}", + "maxlength" => ViewHelper::MAX_NAME_LEN, "required" => "", "auto-focus" => ""} %span.help-block{"ng-show" => "angularForm.name.$error.required"}