Module: SequencesHelper

Defined in:
app/helpers/sequences_helper.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) sequence_autocomplete_selected_tag(sequence)



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

def sequence_autocomplete_selected_tag(sequence)
  sequence_tag(sequence)
end


15
16
17
18
# File 'app/helpers/sequences_helper.rb', line 15

def sequence_link(sequence)
  return nil if sequence.nil?
  link_to(sequence_tag(sequence).html_safe, sequence)
end

- (Object) sequence_tag(sequence)



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

def sequence_tag(sequence)
  return nil if sequence.nil?
  sequence.name
end

- (Object) sequences_search_form



11
12
13
# File 'app/helpers/sequences_helper.rb', line 11

def sequences_search_form
  render('/sequences/quick_search_form')
end