Sha256: 1cfb71b07be80cbee7639d98039ad9bd8ecd653bde4805327216ff0790d86a73

Contents?: true

Size: 997 Bytes

Versions: 11

Compression:

Stored size: 997 Bytes

Contents

<div id="title-bar">
  <h2 class="page-title">Search Results for &ldquo;<%= params[:q] %>&rdquo;</h2>
</div>

<div id="page-content">
  <section class="data-table">
    <table>
      <thead>
        <tr>
          <th></th>
          <th></th>
          <th></th>
        </tr>
      </thead>
      <tbody>
        <% if @collection.size > 0 %>
          <% @collection.each do |item| %>
            <tr>
              <%= content_tag(:td, item.searchable_type, :class => 'search-type') %>
              <%= content_tag(:td, item.searchable.to_s) %>
              <%= content_tag(
                :td,
                link_to('', cambium_route(:edit, item.searchable)),
                :class => 'actions'
              ) %>
            </tr>
          <% end %>
        <% else %>
          <tr>
            <td colspan="3" class="no-results">
              No items matched your search results.
            </td>
          </tr>
        <% end %>
      </tbody>
    </table>
  </section>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
cambium-1.2.3 app/views/cambium/admin/search/index.html.erb
cambium-1.2.2 app/views/cambium/admin/search/index.html.erb
cambium-1.2.1 app/views/cambium/admin/search/index.html.erb
cambium-1.2.0 app/views/cambium/admin/search/index.html.erb
cambium-1.1.6 app/views/cambium/admin/search/index.html.erb
cambium-1.1.5 app/views/cambium/admin/search/index.html.erb
cambium-1.1.4 app/views/cambium/admin/search/index.html.erb
cambium-1.1.3 app/views/cambium/admin/search/index.html.erb
cambium-1.1.2 app/views/cambium/admin/search/index.html.erb
cambium-1.1.1 app/views/cambium/admin/search/index.html.erb
cambium-1.1.0 app/views/cambium/admin/search/index.html.erb