Sha256: b16e6e388a46dcf9e505c2372c990b1258dcebd0f566b275dca4d233cfa7ec02

Contents?: true

Size: 1.19 KB

Versions: 17

Compression:

Stored size: 1.19 KB

Contents

<% search = f.object %>
<li class="dd-item dd3-item" data-id="<%= search.id %>">
  <div class="dd-handle dd3-handle"><%= t :drag %></div>
  <div class="dd3-content panel panel-default">
    <div class="panel-heading search">
      <%= f.check_box :published, label: '' %>
      
      <div class="pic thumbnail"><%= image_tag(search.thumbnail.image.thumb) if search.thumbnail %></div>
      <div class="main">
        <div class="title panel-title"><%= search.title %></div>
        <div class="count"><%= t :'.item_count', count: search.count %></div>
        <div class="actions"><%= exhibit_view_link(search) %> &bull; <%= exhibit_edit_link(search) %> &bull; <%= exhibit_delete_link(search) %></div>
        <%= f.hidden_field :id %>
        <%= f.hidden_field :weight, data: {property: "weight"} %>
      </div>

      <div class="description">
        <% if search.long_description.present? %>
          <%= truncate(search.long_description, length: 89) %>
        <% else %>
          <span class="missing-description"><%= t(:'.missing_description_html', link: (link_to action_label(search, :edit_long), [spotlight, :edit, search.exhibit, search])) %></span>
        <% end %>
      </div>

    </div>
  </div>
</li>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
blacklight-spotlight-0.12.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.11.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.10.3 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.10.2 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.10.1 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.10.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.9.2 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.9.1 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.9.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.8.2 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.8.1 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.8.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.7.2 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.7.1 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.7.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.6.0 app/views/spotlight/searches/_search.html.erb
blacklight-spotlight-0.5.0 app/views/spotlight/searches/_search.html.erb