Apologies for not clarifying the question.
What I meant to ask was:
1. Incorrect translation of the erb code -- See that "Unless"
statement is nested within the "column_div" call. I had to manually
do that. Similarly, the render :partial statements within the second
column_div also were translated incorrectly.
2. The end statements - I thought that Haml did not allow them?
The following code which I manually cleaned up works fine:
- column_div :type => :primary do
- unless @people.empty?
%h2 People
= will_paginate
%ul.list.people
= render :partial => @people
= will_paginate
- column_div :type => :secondary do
= render :partial => 'searches/box'
= render :partial => 'shared/minifeed'
Bharat
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---