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) %> • <%= exhibit_edit_link(search) %> • <%= 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