<% @digital_assets.each do |digital_asset| %> <% end %>
Title Sami code Products Updated at Published at Expires at Guid
<%= digital_asset.title %> <%= digital_asset.sami_code %> <%= digital_asset.product_ids.join(", ") %> <%= digital_asset.changed_at %> <%= digital_asset.published_at %> <%= digital_asset.expires_at %> <%= digital_asset.guid %> <%= link_to 'Show', digital_asset %>

Current Documents

<% @digital_assets.each do |digital_asset| %> <% if digital_asset.documents.size > 0 %> <% for document in digital_asset.documents %> <% end %>
Content Type Path
<%= document.content_type %> <%= document.path %>
<% end %> <% end %>