Thank you for the clarification. It still did not work for some
reason...

On Oct 31, 3:47 pm, "Nathan Weizenbaum" <[EMAIL PROTECTED]> wrote:
> The recommended way of dealing with long lines is to move them into a
> helper. This makes your views much easier to read, and encourages you to
> abstract out repetitive calls.
>
> If that's absolutely unworkable, you can use the pipe character to write
> multiline calls in Haml. You have the syntax wrong: you need to put a pipe
> character after every line that you want to merge into one line, like so:
>
>   = observe_field :lookup_field, |
>     :url => { :controller => :some_controller, :action => :lookup }, |
>     :update => :destination, |
>     :with => "seed" |
>
> - Nathan
>


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