Module: ContainerLabelsHelper

Defined in:
app/helpers/container_labels_helper.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) container_labels_tag(container)

Parameters:

  • ! (container)


4
5
6
7
# File 'app/helpers/container_labels_helper.rb', line 4

def container_labels_tag(container)
  return nil if container.nil?
  container.container_labels.collect{|a| a.label}.join('<br><br>').html_safe
end