mirror of
https://github.com/ansible/awx.git
synced 2026-02-18 19:50:05 -03:30
Job template form add mode, can_edit = true
had to include can_edit = true for creating a job template so that button would be enabled when form is valid
This commit is contained in:
@@ -259,7 +259,7 @@ function JobTemplatesAdd($scope, $rootScope, $compile, $location, $log, $routePa
|
||||
callback;
|
||||
|
||||
CallbackHelpInit({ scope: $scope });
|
||||
|
||||
$scope.can_edit = true;
|
||||
generator.inject(form, { mode: 'add', related: false, scope: $scope });
|
||||
|
||||
callback = function() {
|
||||
|
||||
Reference in New Issue
Block a user