mirror of https://github.com/portainer/portainer
13 lines
489 B
JavaScript
13 lines
489 B
JavaScript
|
angular.module('portainer').component('porAccessControlForm', {
|
||
|
templateUrl: 'app/directives/accessControlForm/porAccessControlForm.html',
|
||
|
controller: 'porAccessControlFormController',
|
||
|
bindings: {
|
||
|
// This object will be populated with the form data.
|
||
|
// Model reference in porAccessControlFromModel.js
|
||
|
formData: '=',
|
||
|
// Optional. An existing resource control object that will be used to set
|
||
|
// the default values of the component.
|
||
|
resourceControl: '<'
|
||
|
}
|
||
|
});
|