diff --git a/tabbed_admin/templates/tabbed_admin/change_form.html b/tabbed_admin/templates/tabbed_admin/change_form.html index 63a001e..954abcb 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 %} +
+ {% 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 %} -