Sha256: cc091033c1c23e0ac1ddbbe71f2069f59eadd7ff001122da688aea4764fd1a22

Contents?: true

Size: 608 Bytes

Versions: 4

Compression:

Stored size: 608 Bytes

Contents

<div data-blacklight-modal="container">
  <%= prefix %>

  <div class="modal-header">
    <%= header || (capture do %>
      <h1 class="modal-title"><%= title %></h1>
    <% end) %>

    <button type="button" class="blacklight-modal-close btn-close close" data-dismiss="modal" aria-label="<%= t('blacklight.modal.close') %>">
      <span aria-hidden="true">&times;</span>
    </button>
  </div>

  <%= body || (capture do %>
    <div class="modal-body">
      <%= content %>
    </div>
  <% end) %>

  <% if footer.present? %>
    <div class="modal-footer">
      <%= footer %>
    </div>
  <% end %>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-7.20.1 app/components/blacklight/system/modal_component.html.erb
blacklight-7.20.0 app/components/blacklight/system/modal_component.html.erb
blacklight-7.19.2 app/components/blacklight/system/modal_component.html.erb
blacklight-7.19.1 app/components/blacklight/system/modal_component.html.erb