Module: SamplesHelper
- Defined in:
- app/helpers/samples_helper.rb
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.
6 7 8 |
# File 'app/helpers/samples_helper.rb', line 6 def organism_validation_javascript vite_javascript_tag('organism_validation') end |