lib/active_scaffold/helpers/form_column_helpers.rb
# This method decides which input to use for the given column.
# It does not do any rendering. It only decides which method is responsible for rendering.
This method decides which input to use for the given column.
It does not do any rendering. It only decides which method is responsible for rendering.
This method decides which input to use for the given column . It does not do any rendering . It only decides which method is responsible for rendering .
def active_scaffold_subform_attributes(column, column_css_class = nil, klass = nil)
        {
          :class => "sub-form #{active_scaffold_config_for(klass || column.association.klass).subform.layout}-sub-form #{column_css_class} #{column.name}-sub-form",
          :id => sub_form_id(:association => column.name)
        }
      end
def active_scaffold_subform_attributes ( column , column_css_class = nil , klass = nil ) { :class => "sub-form #{active_scaffold_config_for(klass || column.association.klass).subform.layout}-sub-form #{column_css_class} #{column.name}-sub-form" , :id => sub_form_id ( :association => column . name ) } end
This method decides which input to use for the given column.
This method decides which input to use for the given column .
column
<not_specific>
column_css_class
<not_specific>
klass
<not_specific>