Chunks of form

is there any way so that i can divide my form into small chunks and
then include it with render partial

Cant you just render more than one partial within the same form like
<% form_for(@stuff) do |f| %>
<%= render(:partial => ‘chunk1’, :locals => {:f => f}) %>
<%= render(:partial => ‘chunk2’, :locals => {:f => f}) %>
<%= f.submit(‘Done’) %>
<% end %>

?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs