From: melinath Date: Thu, 19 Aug 2010 16:02:10 +0000 (-0400) Subject: Re-tweaked page add form to preserve 'continue on normal save' functionality. This... X-Git-Tag: philo-0.9~35^2 X-Git-Url: http://git.ithinksw.org/philo.git/commitdiff_plain/60a1df9c4f1df657cee19951a87f781b0e2bf85a?ds=sidebyside Re-tweaked page add form to preserve 'continue on normal save' functionality. This is implemented with javascript and will probably break some time in the future, but there doesn't seem to be a better way to do it at the moment. Fixes bug #8. --- diff --git a/templates/admin/philo/page/add_form.html b/templates/admin/philo/page/add_form.html index 5b101c4..67f6ec4 100644 --- a/templates/admin/philo/page/add_form.html +++ b/templates/admin/philo/page/add_form.html @@ -1,8 +1,25 @@ {% extends "admin/change_form.html" %} {% load i18n %} +{% block extrahead %}{{ block.super }} + + +{% endblock %} + {% block form_top %}

{% trans "First, choose a template. After saving, you'll be able to provide additional content for containers." %}

+ {% endblock %} {% block content %}