This is intentional; it's "syntactic vinegar," designed to discourage 
you from putting too much logic into your views. The best thing to do is 
to move those big lines into helpers, which will make your views cleaner 
and easier to read.

If you really want to put multiline things next to each other, you can 
separate them with a silent comment (-#). This is a hack... but so is 
putting logic into your views.

- Nathan

ridcully wrote:
> What if I have a command spanning multiple lines, and right after that
> another one?
>
> This:
>
> = print_something :param1 => "foo", |
>   :param2 => "bar" |
> = print_another_thing :param1 => "foo", |
>   :param2 => "bar" |
>
> Will not work of course because the two commands are joined...
>
> Andi
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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