Wednesday, January 5, 2011

Re: [Rails] Re: Re: Re: Re: Re: Nicedit (rich text editor)

On 5 January 2011 22:01, Daniel Oton <lists@ruby-forum.com> wrote:
>> Is form_form actually what you're typing?  It should be form_for .
>
> No, sorry. Only bad typped when writing the post...
>
>>I don't understand what you mean by form_for *inside* form_for.  Are
>>you using nested forms?
>
> <% form_for(@item) do |f| %>
>  <% form_for(@subitem) do |f| %>
>
> ... or something similar (Neither I don't know if this is possible)

No, nested forms are not allowed in html. You can have multiple
submit buttons in one form though.

Colin

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate