On 14 Jan 2009, at 10:03, Shilo Ayalon wrote:
>
> end
> # app/views/vendors/new.js.rjs
> page.insert_html :after, 'vendors-headers', :partial => 'new_vendor',
> :object => Vendor.new
> I have a couple of issues. The first is that clicking the 'add vendor'
> does add a table row with the form to the markup, but it doesn't  
> show on
> the page. I can see the page source adding the rows with the form
> elements (in firebug), but it's as if the "display:none" is set on  
> them
> (no css is linked to the page, so that isn't it). I'm thinking it  
> might
> be because I'm not linking the form to the model properly, but I can't
> see where I might be erring.
>
I don't think it's not legal markup. a <tr> tag may only contain <td>  
tags.

Fred

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to