<%= collection_item.item_date.to_date %>
<% end %><% if collection_item.item_type == 'Work' %> <%= render "works/work_module", work: collection_item.item, is_unrevealed: false %> <% elsif collection_item.item_type == 'Bookmark' %> <% bookmark = collection_item.item %> <% bookmarkable = bookmark.bookmarkable %> <% if bookmarkable.blank? %> <% else %> <%= render 'bookmarks/bookmark_item_module', bookmarkable: bookmarkable %> <% end %> <%= render 'bookmarks/bookmark_user_module', bookmark: bookmark %> <% end %><% end %> <%= render 'collection_item_controls', collection_item: collection_item, form: form %> <% end %>