{% load wagtailadmin_tags compress localize %}
{% comment %}
Javascript declarations to be included on the 'create page' and 'edit page' views
{% endcomment %}
{% compress js %}
{% hook_output 'insert_editor_js' %}
{% endcompress %}
{% comment %}
Put it outside compress to be sure that offline compression also works fine.
{% endcomment %}
{% get_localized_datepicker_js %}
{% comment %}
Additional js from widgets media. Allows for custom widgets in admin panel.
{% endcomment %}
{{ edit_handler.form.media.js }}