Sha256: d906c02046cff972b0687b366b88c231878a0fc9655b3df64d452d94c67ec591

Contents?: true

Size: 331 Bytes

Versions: 4

Compression:

Stored size: 331 Bytes

Contents

<% object_type = content_item_section.content_item_type.underscore %>
<% object = content_item_section.content_item_type.constantize.for_content_item_section.find_by_id(content_item_section.content_item_id) %>

<% if object %>
  <%= render :partial => "#{object_type}", :locals => {object_type.to_sym => object} %>
<% end %>

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
westarete-skylinecms-3.0.8.20100329 app/templates/skyline/sections/content_item_section/default/index.html.erb
westarete-skylinecms-3.0.8.20100330 app/templates/skyline/sections/content_item_section/default/index.html.erb
skylinecms-3.0.8 app/templates/skyline/sections/content_item_section/default/index.html.erb
skylinecms-3.0.7 app/templates/skyline/sections/content_item_section/default/index.html.erb