From eaf08324cc03d79ef802c77b448c600317b42073 Mon Sep 17 00:00:00 2001 From: Jose Soares Date: Sat, 5 Sep 2015 16:51:18 -0400 Subject: [PATCH 1/2] [-] Added `object-tools` block back --- tabbed_admin/templates/tabbed_admin/change_form.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tabbed_admin/templates/tabbed_admin/change_form.html b/tabbed_admin/templates/tabbed_admin/change_form.html index 63a001e..a16547d 100644 --- a/tabbed_admin/templates/tabbed_admin/change_form.html +++ b/tabbed_admin/templates/tabbed_admin/change_form.html @@ -2,7 +2,9 @@ {% load i18n admin_modify admin_urls tabbed_admin_tags %} {% block content %} +XS
+ {% block object-tools %}{{ block.super }}{% endblock %}
{% csrf_token %}{% block form_top %}{% endblock %}
{% if is_popup %}{% endif %} @@ -67,14 +69,14 @@ $('#tabs #for_' + this.id).addClass("errortab"); } }); - + $("#tabs").on('tabsactivate', function(event, ui) { var scrollPos = $(window).scrollTop(); var hash = ui.newTab.children("li a").attr("href"); window.location.hash = hash; $(window).scrollTop(scrollPos); }); - + if ($('.errornote').length) { $('.errornote').addClass('tabbed-errornote'); } @@ -100,4 +102,3 @@
{% endblock %} - From 891fe91dd69ec3487d38975938b0cd533fd5eee9 Mon Sep 17 00:00:00 2001 From: Jose Soares Date: Sat, 5 Sep 2015 16:52:02 -0400 Subject: [PATCH 2/2] [-] Remove misc text --- tabbed_admin/templates/tabbed_admin/change_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabbed_admin/templates/tabbed_admin/change_form.html b/tabbed_admin/templates/tabbed_admin/change_form.html index a16547d..954abcb 100644 --- a/tabbed_admin/templates/tabbed_admin/change_form.html +++ b/tabbed_admin/templates/tabbed_admin/change_form.html @@ -2,7 +2,7 @@ {% load i18n admin_modify admin_urls tabbed_admin_tags %} {% block content %} -XS +
{% block object-tools %}{{ block.super }}{% endblock %}
{% csrf_token %}{% block form_top %}{% endblock %}