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:
parent
df4f6ecfd6
commit
29b9c44a1e
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user