/Resources/views/script.html.twig
https://bitbucket.org/cmedia/cmediatagbundle · Twig Template · 9 lines · 9 code · 0 blank · 0 comment · 0 complexity · c3bc3c175863eb272a778eaa087475f2 MD5 · raw file
- <script>
- $(".{{ tagManagerId }}").tagsManager({
- prefilled: $('#{{tagListId}}').attr('value').split(','),
- hiddenTagListName: '{{ tagListName }}',
- hiddenTagListId: '{{ tagListId }}',
- typeahead: true,
- typeaheadAjaxSource: "{{ ajaxPath }}?query=",
- });
- </script>