{% load wagtailadmin_tags %} {% comment %} Variables this template accepts: text - The text that shows up on the button classes - custom css classes for styling or js data_url - A url for javascript to use has_toggle - Show toggle icon on the button attr - custom attributes for the button {% endcomment %}