G'day all,

After a quick search, it seems I am not the only one who has had
problems changing the submit buttons on an item's change view in the
admin application. Some people even use JavaScript for this. For me
the problem is that I would just like to change the buttons but still
use admin/change_form.html as the base for my template without having
to rewrite the whole "content" block.

So, my question is: would it be possible to put the submit buttons
inside their own block? Maybe there aren't too many cases where this
would be useful but I can't see how it could do any harm either. Or am
I missing something here?

Now admin/change_form.html has this:

{% submit_row %}

What if that would be changed to, for example:

{% block submit_buttons %}{% submit_row %}{% endblock %}


Mikko

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to