Sha256: 08eda92a46b61342291d2565fa062f62f21f7551726c4b2d7bc1e43c8048ddd6

Contents?: true

Size: 707 Bytes

Versions: 3

Compression:

Stored size: 707 Bytes

Contents

<%= content_tag @component,
  id: @id,
  data: {
    'document-id': @document.id.to_s.parameterize,
    'document-counter': @counter,
  },
  itemscope: true,
  itemtype: @document.itemtype,
  class: classes.flatten.join(' ') do %>
  <%= header %>
  <% if body.present? %>
    <%= body %>
  <% else %>
    <div class="document-main-section">
      <header class="documentHeader row">
        <%= content_tag @title_component, class: 'index_title document-title-heading' do %>
          <%= before_title %><%= title %><%= after_title %>
        <% end %>
        <%= actions %>
      </header>

      <%= content %>
      <%= metadata %>
    </div>

    <%= thumbnail %>
  <% end %>
  <%= footer %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blacklight-7.12.1 app/components/blacklight/document_component.html.erb
blacklight-7.12.0 app/components/blacklight/document_component.html.erb
blacklight-7.11.1 app/components/blacklight/document_component.html.erb