On 18 Jan 2009, at 12:04, Phlip wrote:

>
> Shilo Ayalon wrote:
>
>>    <% form_for :vendor do |f| -%>
>>      <td><%= f.text_field :name, :size => 15 %></td>
>>      <td><%= f.text_field :location, :size => 15 %></td>
>
> Don't forms automatically have 'display: block;' style? Meaning you  
> can't nest
> them between <table><tr><td> blocks?
>
IIRC tr elements can only contain td elements. You can't put a form  
there.

Fred
> I think this error is similar to a mismatched <td> situation, where  
> the browser
> just throws away the incorrect cell...
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to