Module: ExtractsHelper

Defined in:
app/helpers/extracts_helper.rb

Instance Method Summary (collapse)

Instance Method Details



7
8
9
10
# File 'app/helpers/extracts_helper.rb', line 7

def extract_link(extract)
  return nil if extract.nil?
  link_to(extract_tag(extract).html_safe, extract)
end

- (Object) extract_tag(extract)



2
3
4
5
# File 'app/helpers/extracts_helper.rb', line 2

def extract_tag(extract)
  return nil if extract.nil?
  extract.verbatim_anatomical_origin    
end

- (Object) extracts_search_form



12
13
14
# File 'app/helpers/extracts_helper.rb', line 12

def extracts_search_form
  render('/extracts/quick_search_form')
end