1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-02 01:21:21 +03:00

Show tower group name field as read-only

This commit is contained in:
Marliana Lara 2018-04-23 15:29:53 -04:00
parent df4f6ecfd6
commit 29b9c44a1e
No known key found for this signature in database
GPG Key ID: 38C73B40DFA809EE

View File

@ -28,6 +28,7 @@ function EditController ($rootScope, $state, models, strings) {
vm.form.disabled = !instanceGroup.has('options', 'actions.PUT'); 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._lookupTags = true;
vm.form.policy_instance_list._model = instance; vm.form.policy_instance_list._model = instance;
vm.form.policy_instance_list._placeholder = "Policy Instance List"; vm.form.policy_instance_list._placeholder = "Policy Instance List";