Module: ContainerItemsHelper

Defined in:
app/helpers/container_items_helper.rb

Instance Method Summary (collapse)

Instance Method Details



8
9
10
11
# File 'app/helpers/container_items_helper.rb', line 8

def container_item_link(container_item)
  return nil if container_item.nil?
  link_to(container_item_tag(container_item).html_safe, container_item)
end

- (Object) container_item_tag(container_item)



3
4
5
6
# File 'app/helpers/container_items_helper.rb', line 3

def container_item_tag(container_item)
  return nil if container_item.nil?
 ( container_item.contained_object_type + ': ' + object_tag(container_item.contained_object)).html_safe 
end

- (Object) container_items_search_form



13
14
15
# File 'app/helpers/container_items_helper.rb', line 13

def container_items_search_form
  render('/container_items/quick_search_form')
end