From 1fee7260e496092b501bdea63369b30471a7e43d Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Tue, 12 Feb 2019 03:35:43 -0400 Subject: [PATCH] Allow adding extra buttons to forms Signed-off-by: Roberto Rosario --- .../appearance/generic_form_subtemplate.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mayan/apps/appearance/templates/appearance/generic_form_subtemplate.html b/mayan/apps/appearance/templates/appearance/generic_form_subtemplate.html index 2175b885b8..975860aa2a 100644 --- a/mayan/apps/appearance/templates/appearance/generic_form_subtemplate.html +++ b/mayan/apps/appearance/templates/appearance/generic_form_subtemplate.html @@ -90,6 +90,17 @@ {% if cancel_label %}{{ cancel_label }}{% else %}{% trans 'Cancel' %}{% endif %} {% endif %} + + {% for button in extra_buttons %} + + {% endfor %} + + {% endif %} {% endif %}