Sha256: 7387818843e7d3827532c3bc95c1c1137575d06ae678fcc9509f435ca5c4088d

Contents?: true

Size: 1.11 KB

Versions: 4

Compression:

Stored size: 1.11 KB

Contents

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
    <li id="new_slideshow_link">
      <%= button_link_to t(:new_slideshow), new_object_url, {:remote => true, :icon => 'add', :id => 'admin_new_slideshow'} %>
    </li>
  </ul>
  <br class="clear" />
</div>

<h1><%= t(:listing_slideshows) %></h1>

<div id="new_slideshow" data-hook></div>

<table class="index" id="listing_products">
  <tr data-hook="admin_slideshows_index_headers">
    <th><%= t(:category) %></th>
    <th><%= t(:enable) %></th>
    <th><%= t(:slide_number) %></th>
    <th data-hook="admin_slideshows_index_header_actions"></th>
  </tr>
<% @slideshow_types.each do |slideshow_type| %>
  <tr id="<%= spree_dom_id slideshow_type %>" data-hook="admin_slideshow_types_index_rows">
    <td><%= slideshow_type.category %></td>
	<td><%= icon('tick') if slideshow_type.enabled %></td>
	<td><%= slideshow_type.slide_number %></td>
    <td class="actions" data-hook="admin_slideshows_index_row_actions">
      <%= link_to_edit slideshow_type, :class => 'edit' %>
      &nbsp;
      <%= link_to_delete slideshow_type %>
    </td>
  </tr>
<% end %>
</table>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_multi_slideshow-1.1.7 app/views/spree/admin/slideshow_types/index.html.erb
spree_multi_slideshow-1.1.6 app/views/spree/admin/slideshow_types/index.html.erb
spree_multi_slideshow-1.1.5 app/views/spree/admin/slideshow_types/index.html.erb
spree_multi_slideshow-1.1.4 app/views/spree/admin/slideshow_types/index.html.erb