mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 09:18:48 -03:30
21 lines
438 B
JavaScript
21 lines
438 B
JavaScript
// TODO: i18n
|
|
|
|
function atInputSearch () {
|
|
function link (scope) {
|
|
scope.config = scope.config || {};
|
|
scope.config.placeholder = scope.config.placeholder || 'SEARCH';
|
|
}
|
|
|
|
return {
|
|
restrict: 'E',
|
|
transclude: true,
|
|
templateUrl: 'static/partials/components/input-search.partial.html',
|
|
link,
|
|
scope: {
|
|
config: '='
|
|
}
|
|
};
|
|
}
|
|
|
|
export default atInputSearch;
|