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 describe_organism_and_strain_for_list(organism, strain)
    result = ""
    if organism
      result += link_to organism.title, organism, {:class => "assay_organism_info"}
    end
    if strain && !strain.is_dummy? && strain.can_view?
      result += " :<span class='strain_info'> "
      result += link_to strain.info, strain, {:class => "strain_info"}
      result += "</span>"
    end
    result
  end
def describe_organism_and_strain_for_list ( organism , strain ) result = "" if organism result += link_to organism . title , organism , { :class => "assay_organism_info" } end if strain && ! strain . is_dummy? && strain . can_view? result += " :<span class='strain_info'> " result += link_to strain . info , strain , { :class => "strain_info" } result += "</span>" end result end
assays that haven't already been associated with a study
assays that haven ' t already been associated with a study
organism
strain