Is there any interest in adding the inherit attribute to the if_content tag?

In some instances I'll find the need to output something like

<div id="extras">
<r:content part="extras" inherit="true" />
</div>

But I don't have a way to conditionally render the <div id="extras"> bit. If the parent or current page has an "extras" part, then it will appear, but if it doesn't I'll have an empty div element.

Is there a simple way to handle this or would <r:if_content inherit="true"> be a clear and welcomed addition?

-Jim
_______________________________________________
Radiant mailing list
Post:   Radiant@radiantcms.org
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to