class CmAdmin::Models::Row
def form_field(field_name, options={}, arg=nil)
def form_field(field_name, options={}, arg=nil) if @current_action.is_nested_field @nested_table_fields[@current_action.nested_table_name] ||= [] @nested_table_fields[@current_action.nested_table_name] << CmAdmin::Models::FormField.new(field_name, options[:input_type], options) else @row_fields << CmAdmin::Models::FormField.new(field_name, options[:input_type], options) end end