Hmm, you're right, that is a regression. Fixed in stable and trunk - the fix
will be released as of 1.8.1. In the meantime, adding a "-#" at the end of
the template should be a workaround.

On Jan 9, 2008 11:28 AM, KJoyner <[EMAIL PROTECTED]> wrote:

>
> The following code no longer renders in Haml 1.8.0
>
> - form_for @user do |form|
>  = render :partial => 'form', :object => form, |
>       :locals => { :submit_text => 'Save changes' } |
>
> This works in 1.7.2 and will also work if I put the render on a single
> line (no pipe characters).
>
> Am I doing something wrong?
>
> -- Ken
> >
>

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