change_form.html bodyclass block doesn't inherit
contrib/admin/templates/admin/change_form.html's bodyclass block doesn't inherit from superclasses. This caused me some problems integrating YUI's editor into a admin textarea. The YUI editor requires the body element's class to be 'yui-skin-sam' I'm setting this in a customized admin/base_site.html file, but it's not getting included. The attached patch adds {{block.super}} to the block to correct this.
Attachments
(1)
- change_form.patch
(704 bytes
) - added by wiremine@… 17 years ago.
- change_form.html patch to correctly inherit body class values from parent templates
Download all attachments as:
.zip
Change History
(8)
Has patch: |
set
|
Triage Stage: |
Unreviewed → Accepted
|
Component: |
Uncategorized → Admin interface
|
Needs tests: |
set
|
Patch needs improvement: |
set
|
Severity: |
→ Normal
|
Type: |
→ Bug
|
Resolution: |
→ duplicate
|
Status: |
new → closed
|
change_form.html patch to correctly inherit body class values from parent templates