{% load compress %} {% load localize %} {% comment %} Javascript declarations to be included on the 'create page' and 'edit page' views {% endcomment %} {% compress js %} {% comment %} TODO: have a mechanism to specify image-chooser.js (and hallo-wagtailimage.js) within the wagtailimages app - ideally wagtailadmin shouldn't have to know anything at all about wagtailimages TODO: a method of injecting these sorts of things on demand when the modal is spawned. {% endcomment %} {% endcompress %} {% comment %} We should put it outside of compress because it is a remote script. If we wanted to put it inside compress we should download each translation file and include it in wagtailadmin/js/vendor/ {% endcomment %} {% get_localized_datepicker_js %}