Module: SamplesHelper
- Defined in:
- app/helpers/samples_helper.rb
Overview
rubocop:todo Style/Documentation
Instance Method Summary collapse
-
#organism_validation_javascript ⇒ Object
Use this wherever you are editing a sample so that you get the sample 'common name' lookup behaviour.
Instance Method Details
#organism_validation_javascript ⇒ Object
Use this wherever you are editing a sample so that you get the sample 'common name' lookup behaviour. Attach 'data-organism' attribute to the 'common name' and 'taxon ID' fields to get them updated.
5 6 7 |
# File 'app/helpers/samples_helper.rb', line 5 def organism_validation_javascript javascript_include_tag('organism_validation') end |