- asset.field_groups.each do |field_group|
  - fg = field_group.fields.without_pairs
  - if fg.select{|f| asset.send(f.name).present? }.any?
    %div
      - unless field_group.name == 'custom_fields'
        .caption #{field_group.label_i18n}
      - fg.each do |field|
        - if (value = field.render_value(asset)).present?
          == #{field.label}:<br /> <b>#{truncate(value, :length => 35)}</b><br />

- asset.field_groups.each do |field_group|
  - fg = field_group.fields.without_pairs
  - if fg.select{|f| asset.send(f.name).present? }.any?
    %div
      - unless field_group.name == 'custom_fields'
        .caption #{field_group.label_i18n}
      - fg.each do |field|
        - if (value = field.render_value(asset)).present?
          == #{field.label}:<br /> <b>#{truncate(value, :length => 35)}</b><br />
  - else
    %div
    - unless field_group.name == 'custom_fields'
      .caption #{field_group.label_i18n}
      = "No " + field_group.name + " information"

Optimize Opportunity Sidebar Sampling information: will display message if no info entered
Optimize Opportunity Sidebar Sampling information: will display message if no info entered
