Sha256: 578eb9b7872d6ab6e556db01dd5f8acf4e892b7c33fe3364b8b4df7b883ead9a

Contents?: true

Size: 966 Bytes

Versions: 1

Compression:

Stored size: 966 Bytes

Contents

<% solr_documents_embed_block.with_solr_helper(self) %>

<div class="content-block items-block row">
  
  <% if solr_documents_embed_block.documents? %>

    <div class="content-block spotlight-flexbox pull-<%= solr_documents_embed_block.content_align %> <%= solr_documents_embed_block.text? ? "col-md-6" : "col-md-12" %> ">
      <% solr_documents_embed_block.documents.each do |document| %>
        <div class="box" data-id="<%= document.id %>">
          <%= render_document_partials document, blacklight_config.view.embed.partials, (blacklight_config.view.embed.locals || {}).reverse_merge(block: solr_documents_embed_block) %>
        </div>
      <% end %>
    </div>
  <% end %>

  <% if solr_documents_embed_block.text? %>
    <div class="text-col col-md-6 pull-<%= solr_documents_embed_block.text_align %>">
      <h3><%= solr_documents_embed_block.title %></h3>
      <%= sir_trevor_markdown solr_documents_embed_block.text %>
    </div>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blacklight-spotlight-0.4.1 app/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb