Module: TaxonNames::BatchHelper
- Defined in:
- app/helpers/taxon_names/batch_helper.rb
Instance Method Summary collapse
Instance Method Details
#nomen_row_object_preview(taxon_name_objects) ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/helpers/taxon_names/batch_helper.rb', line 3 def nomen_row_object_preview(taxon_name_objects) begin taxon_name_objects.each_with_index.collect{|n, i| "#{i + 1}: " + n.get_full_name.to_s }.join('<br>').html_safe rescue TaxonWorks::Error => e tag.span "ERROR. Likely recursion issue (bad parent, or row order): #{e}", class: [:feedback, 'feedback-thin', 'feedback-failure'] end end |