Module: ObservationMatricesHelper

Defined in:
app/helpers/observation_matrices_helper.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) matrices_search_form



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

def matrices_search_form
  render('/matrices/quick_search_form')
end


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

def matrix_link(matrix)
  return nil if matrix.nil?
  link_to(matrix_tag(matrix).html_safe, matrix)
end

- (Object) matrix_tag(matrix)



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

def matrix_tag(matrix)
  return nil if matrix.nil?
  matrix.name
end