mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-28 19:01:48 -05:00
Update project structure
This commit is contained in:
22
awx/ui/client/lib/components/input/text.directive.js
Normal file
22
awx/ui/client/lib/components/input/text.directive.js
Normal file
@@ -0,0 +1,22 @@
|
||||
function link (scope, el, attrs, form) {
|
||||
form.use('input', scope, el);
|
||||
}
|
||||
|
||||
function atInputText (pathService) {
|
||||
return {
|
||||
restrict: 'E',
|
||||
transclude: true,
|
||||
replace: true,
|
||||
require: '^^at-form',
|
||||
templateUrl: pathService.getPartialPath('components/input/text'),
|
||||
link,
|
||||
scope: {
|
||||
config: '=',
|
||||
col: '@'
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
atInputText.$inject = ['PathService'];
|
||||
|
||||
export default atInputText;
|
||||
Reference in New Issue
Block a user