On Jan 28, 4:53 pm, John  Wells <[email protected]> wrote:
> I'm not certain that's completely legal. I'll give it a show, but
> it'll probably make things difficult in other cases where we build up
> this form through partials (i.e., fields_for might be used in a
> partial, while the form_for would be declared in a file calling that
> partial...

Bradley,

This seems to work, although it still feels a bit icky to me. So, for
example, if you had three different scopes in a table, you'd need to
do

- form_for @obj do |a|
  - fields_for :address, @address do |b|
    - fields_for :something, @something do |c|
      %table
        %tr
          %td

A big ugly, but it works in our case. Thank you. If anyone has any
other solutions, I'd love to hear them as well.

Thanks!
John

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