<% # header bar for doc items in index view -%> <%= render_document_partial document, 'spotlight/catalog/admin_thumbnail', document_counter: document_counter %> <%= render_document_partial document, 'index_header', document_counter: document_counter %> <%= Date.parse document['timestamp'] %> <%= render partial: 'document_visibility_control', locals: { document: document} %>