{% comment %} Form action bar — dignified footer with Cancel + Submit, consistent colors. Required: cancel_url — URL the Cancel button links to submit_label — text on the submit button Optional: submit_class — override submit button class (default: btn-primary) cancel_label — override cancel label (default: "Cancel") note — small grey note on the left (e.g. "Draft will be kept.") destructive — truthy → destructive (danger) styling on submit Usage: {% include "components/form_actions.html" with cancel_url=back_url submit_label="Save changes" %} {% include "components/form_actions.html" with cancel_url=back_url submit_label="Delete partner" destructive=1 %} {% endcomment %}
{% if note %}{% endif %}
{{ cancel_label|default:"Cancel" }}