class CmAdmin::Models::Section
def nested_form_field(field_name, options = {}, &block)
def nested_form_field(field_name, options = {}, &block) # @current_action.is_nested_field = true # @current_action.nested_table_name = field_name nested_field = CmAdmin::Models::NestedField.new(field_name, options) if nested_field.parent_field @current_nested_field.associated_fields << nested_field else @nested_table_fields << nested_field end @current_nested_field = nested_field yield end