mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 09:57:35 -02:30
changing select type from checkbox to radio button
for the selection of Team in the credential add/edit form page
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* All Rights Reserved
|
* All Rights Reserved
|
||||||
*************************************************/
|
*************************************************/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ngdoc function
|
* @ngdoc function
|
||||||
* @name controllers.function:Credentials
|
* @name controllers.function:Credentials
|
||||||
@@ -176,6 +176,7 @@ export function CredentialsAdd($scope, $rootScope, $compile, $location, $log, $r
|
|||||||
current_item: (!Empty($routeParams.team_id)) ? $routeParams.team_id : null,
|
current_item: (!Empty($routeParams.team_id)) ? $routeParams.team_id : null,
|
||||||
list: TeamList,
|
list: TeamList,
|
||||||
field: 'team',
|
field: 'team',
|
||||||
|
input_type: 'radio',
|
||||||
autopopulateLookup: false
|
autopopulateLookup: false
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -347,6 +348,7 @@ export function CredentialsEdit($scope, $rootScope, $compile, $location, $log, $
|
|||||||
form: form,
|
form: form,
|
||||||
current_item: (!Empty($scope.team_id)) ? $scope.team_id : null,
|
current_item: (!Empty($scope.team_id)) ? $scope.team_id : null,
|
||||||
list: TeamList,
|
list: TeamList,
|
||||||
|
input_type: 'radio',
|
||||||
field: 'team'
|
field: 'team'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user