app/helpers/extracts_helper.rb
# TODO: reference identifiers/origin objects etc.
reference identifiers/origin objects etc.
reference identifiers / origin objects etc .
def extract_tag(extract)
    return nil if extract.nil?
    e = []
    if extract.old_objects.any?
      e.push ' from: '
      e.push extract.old_objects.collect{|o| object_link(o) } 
    else
      "#{extract.id} (no origin)"
    end
    e.push "Extract " + extract.id.to_s if e.empty?
    e.join.html_safe 
  end
def extract_tag ( extract ) return nil if extract . nil? e = [ ] if extract . old_objects . any? e . push ' from: ' e . push extract . old_objects . collect { | o | object_link ( o ) } else "#{extract.id} (no origin)" end e . push "Extract " + extract . id . to_s if e . empty? e . join . html_safe end
TODO: reference identifiers/origin objects etc.
TODO : reference identifiers / origin objects etc .
extract
<not_specific>