- asset = controller_name.singularize - f.object.tags = unsaved_param_tags(asset) if params[asset] and params[asset][:tag_list] - field_groups = {} #field_groups - f.object.field_groups.each do |field_group| - if field_group.fields.present? - field_groups[field_group.tag.name.downcase] = "#{field_group.key}_container" if field_group.tag = render :partial => 'fields/group', :locals => {:f => f, :field_group => field_group}