Sha256: a27b4414d7c21c54591bab84194c673e84097526456bcb7ffe3a5a517711401c

Contents?: true

Size: 782 Bytes

Versions: 4

Compression:

Stored size: 782 Bytes

Contents

<%= tag.section(**html_attributes) do %>
  <% if collection.errors.any? %>
    <header>
      <% collection.errors.each do |error| %>
        <div class="error <%= error.type %>"><%= error.message %></div>
      <% end %>
    </header>
  <% end %>
  <div class="content">
    <% if suggestions? %>
      <h4 id="suggestions-title"><%= t(".suggestions_title") %></h4>
      <ul id="suggestions" role="listbox" aria-labelledby="suggestions-title">
        <% suggestions.each do |suggestion| %>
          <%= render suggestion %>
        <% end %>
      </ul>
    <% end %>
  </div>
  <footer>
    <% if footer? %>
      <%= footer %>
    <% else %>
      <a href="https://katalyst.github.io/tables/users/queries" target="_blank">Search syntax</a>
    <% end %>
  </footer>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
katalyst-tables-3.7.0 app/components/katalyst/tables/query/modal_component.html.erb
katalyst-tables-3.6.2 app/components/katalyst/tables/query/modal_component.html.erb
katalyst-tables-3.6.1 app/components/katalyst/tables/query/modal_component.html.erb
katalyst-tables-3.6.0 app/components/katalyst/tables/query/modal_component.html.erb