Sha256: b483fa55c1bd8d4cc558342caa09084800585f8bf0ce766a0bbfb8191af55d5a

Contents?: true

Size: 726 Bytes

Versions: 9

Compression:

Stored size: 726 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>

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
blacklight-7.16.0 app/components/blacklight/document_component.html.erb
blacklight-7.15.2 app/components/blacklight/document_component.html.erb
blacklight-7.15.1 app/components/blacklight/document_component.html.erb
blacklight-7.15.0 app/components/blacklight/document_component.html.erb
blacklight-7.14.1 app/components/blacklight/document_component.html.erb
blacklight-7.14.0 app/components/blacklight/document_component.html.erb
blacklight-7.13.2 app/components/blacklight/document_component.html.erb
blacklight-7.13.1 app/components/blacklight/document_component.html.erb
blacklight-7.13.0 app/components/blacklight/document_component.html.erb