Module: BiologicalRelationshipsHelper

Defined in:
app/helpers/biological_relationships_helper.rb

Instance Method Summary (collapse)

Instance Method Details



8
9
10
11
# File 'app/helpers/biological_relationships_helper.rb', line 8

def biological_relationship_link(biological_relationship)
  return nil if biological_relationship.nil?
  link_to(biological_relationship_tag(biological_relationship).html_safe, biological_relationship)
end

- (Object) biological_relationship_tag(biological_relationship)



3
4
5
6
# File 'app/helpers/biological_relationships_helper.rb', line 3

def biological_relationship_tag(biological_relationship)
  return nil if biological_relationship.nil?
  biological_relationship.name
end

- (Object) biological_relationships_search_form



13
14
15
# File 'app/helpers/biological_relationships_helper.rb', line 13

def biological_relationships_search_form
  render('/biological_relationships/quick_search_form')
end