Thanks for your answer. But, I don't know exactly what you mean.
First is renderized the edit.rhtml form. From this one:
...
<%= render :partial => 'edit' %>
...
The partial _edit.rhtml form:
<% labelled_tabular_form_for :cm_board, @cm_board,
:url => {:action => 'edit', :id => @cm_board},
:html => {:id => 'edit-cm_board-form',
:class => nil,
:multipart => true} do |f| %>
...
and finally the _attributes.rhtml form:
<% fields_for :cm_board, @cm_board, :builder => TabularFormBuilder do
|f| %>
...
The labelled_tabular_form_for helper looks like:
def labelled_tabular_form_for(name, object, options, &proc)
options[:html] ||= {}
options[:html][:class] = 'tabular' unless
options[:html].has_key?(:class)
form_for(name, object, options.merge({ :builder => TabularFormBuilder,
:lang => current_language}), &proc)
end
where can I search for the info you request?
--
Posted via http://www.ruby-forum.com/.
--
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.