Off topic but you do realize that else isn't a proper else, but triggers off
the last tag to set a condition value. In this case, the second if could
trigger the else as well even if the first is true, so, you might as well
pull those two if's into one.
A clearer example of what I was talking about:
<if condition="true"> # of course is is true
<if condition="false">
This doesn't display because of false
</if>
</if>
<else>
This displays because the last conditional tag (actually other tags can
set it as well like repeat and collection) returned false
</else>
If you truly need nested if's with matching else blocks, you should fall
back to erb.
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en.