From 29b9c44a1e2420e71b37a562c7d8fd09b1a74819 Mon Sep 17 00:00:00 2001 From: Marliana Lara Date: Mon, 23 Apr 2018 15:29:53 -0400 Subject: [PATCH] Show tower group name field as read-only --- .../instance-groups/add-edit/edit-instance-group.controller.js | 1 + 1 file changed, 1 insertion(+) diff --git a/awx/ui/client/src/instance-groups/add-edit/edit-instance-group.controller.js b/awx/ui/client/src/instance-groups/add-edit/edit-instance-group.controller.js index 458266a1fc..21e04a44ae 100644 --- a/awx/ui/client/src/instance-groups/add-edit/edit-instance-group.controller.js +++ b/awx/ui/client/src/instance-groups/add-edit/edit-instance-group.controller.js @@ -28,6 +28,7 @@ function EditController ($rootScope, $state, models, strings) { vm.form.disabled = !instanceGroup.has('options', 'actions.PUT'); + vm.form.name._disabled = instanceGroup.get('name') === 'tower'; vm.form.policy_instance_list._lookupTags = true; vm.form.policy_instance_list._model = instance; vm.form.policy_instance_list._placeholder = "Policy Instance List";