{% load wagtailadmin_tags staticfiles %} {% comment %} Javascript declarations to be included on the 'create page' and 'edit page' views {% endcomment %} {% hook_output 'insert_editor_js' %} {% include "wagtailadmin/shared/datetimepicker_translations.html" %} {% comment %} Additional js from widgets media. Allows for custom widgets in admin panel. {% endcomment %} {{ edit_handler.form.media.js }} {% comment %} Additional HTML code that edit handlers define through 'html_declarations'. (Technically this isn't Javascript, but it will generally be data that exists for Javascript to work with...) {% endcomment %} {{ edit_handler.html_declarations }}