I want a table for each object with the same name.

http://pastie.caboo.se/191699

I want to iterate over the @objects and make a new table when the name
changes. Is not one table foreach @object, is one table or a row
depending if the name changed or not. I can't explain it better than
that with my poor english.

On 5 mayo, 03:16, Nathan Weizenbaum <[EMAIL PROTECTED]> wrote:
> I'm not sure what you're trying to do... do you not want a table for
> each object? What sort of HTML output are you expecting?
>
> [EMAIL PROTECTED] wrote:
> > I need help.
>
> > I tried to get a proper solution for a problem with the conditionals
> > but it was useless.
> > I need to explore a collection of objects and make tables or rows
> > depending on its names. I paste the problematic code because my
> > english sucks and it will be more descriptive.
>
> >http://pastie.caboo.se/191481
>
> > The code is not working as I want because when I put the else clause
> > the tbody tag is closed.
> > I tried using -tab_up but it was useless as well.
>
> > Thank's in advance!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to