{% load i18n l10n wagtailadmin_tags %} {% dialog id="w-unsaved-changes-dialog" icon_name="warning" icon_classname="w-text-text-error" title=_("Refreshing the page means you will lose any unsaved changes") %}
{% enddialog %} {% comment %} The "-" strings are only placeholders so that the appropriate elements are rendered. The messages will be provided via the sessions list component and teleported into the corresponding elements. The dialog won't ever be shown without the actual messages under normal circumstances. {% endcomment %} {% dialog id="w-overwrite-changes-dialog" dialog_root_selector='[data-edit-form]' icon_name="warning" icon_classname="w-text-text-error" title="-" subtitle="-" %}
{% enddialog %}
{% if revision_id %} {# The ID of the latest revision that was known when this module was initially loaded #} {% endif %}
{% component sessions_list %}