John W. Long wrote:

On Sep 23, 2009, at 10:53 AM, Andrew vonderLuft wrote:
As info, these are the tags Sean mentioned:

 tag 'if_blank' do |tag|
   ...
 end

 tag 'unless_blank' do |tag|
   ...
 end

I like this:

<r:if_blank part="my_part">
<r:unless_blank part="my_part">

The current semantics of if_content are nice because you can leave a part blank to intentionally get it not to render. If you only had if_blank, there is no way to get that behavior.
I like that - cos I use the current method to intentionally get it to not render a page!

Cheers,
Mohit.
9/23/2009 | 11:24 PM.

_______________________________________________
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