app/helpers/assays_helper.rb
#assays that haven't already been associated with a study
assays that haven't already been associated with a study
assays that haven ' t already been associated with a study
def assay_organism_list_item assay_organism
    result = link_to assay_organism.organism.title, assay_organism.organism
    if assay_organism.strain
      result += " : "
      result += link_to h(assay_organism.strain.info), assay_organism.strain, {:class => "assay_strain_info"}
    end
    if assay_organism.tissue_and_cell_type
      result += " : "
      result += link_to h(assay_organism.tissue_and_cell_type.title), assay_organism.tissue_and_cell_type, {:class => "assay_tissue_and_cell_type_info"}
    end
    if assay_organism.culture_growth_type
      result += " (#{assay_organism.culture_growth_type.title})"
    end
    return result.html_safe
  end
def assay_organism_list_item assay_organism result = link_to assay_organism . organism . title , assay_organism . organism if assay_organism . strain result += " : " result += link_to h ( assay_organism . strain . info ) , assay_organism . strain , { :class => "assay_strain_info" } end if assay_organism . tissue_and_cell_type result += " : " result += link_to h ( assay_organism . tissue_and_cell_type . title ) , assay_organism . tissue_and_cell_type , { :class => "assay_tissue_and_cell_type_info" } end if assay_organism . culture_growth_type result += " (#{assay_organism.culture_growth_type.title})" end return result . html_safe end
assays that haven't already been associated with a study
assays that haven ' t already been associated with a study
assay_organism