{% load wagtailadmin_tags %} {% comment "text/markdown" %} Variables this template accepts: dialog_id - The ID of the dialog you are toggling open classname - CSS classes for styling the button text - The text of the button {% endcomment %}