Skip to content

Commit

Permalink
Merge pull request #1771 from lpichler/add_ViewHelper_module_prefix_f…
Browse files Browse the repository at this point in the history
…or_MAX_NAME_LEN

use ViewHelper prefix module for constant
  • Loading branch information
himdel authored Jul 27, 2017
2 parents baf457d + 0dc93ed commit ecca585
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/static/ops/tenant/tenant.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand Down

0 comments on commit ecca585

Please sign in to comment.