Sha256: 5eef50cf4e4b9e3fb03f6041e0c4037322cda6c7e87cf3af64b589105c4e9d66

Contents?: true

Size: 939 Bytes

Versions: 3

Compression:

Stored size: 939 Bytes

Contents

<%= render :partial => 'spree/admin/shared/configuration_menu' %>

<div class="toolbar" data-hook="toolbar">
  <ul class="actions">
    <li>
      <p><%= button_link_to 'New Slide', new_object_url, :icon => 'add', :id => 'admin_new_slide_link' %></p>
    </li>
  </ul>
  <br class="clear" />
</div>

<h1>Slides</h1>

<table class="index" id="listing_slides" data-hook>
  <thead>
    <tr data-hook="admin_slides_index_headers">
      <th>Name</th>
      <th data-hook="admin_slides_index_header_actions"></th>
    </tr>
  </thead>
  <tbody>
    <% @slides.each do |slide|%>
      <tr id="<%= dom_id slide %>" data-hook="admin_slides_index_rows">
        <td width="350px" ><%=link_to slide.name, object_url(slide) %></td>
        <td data-hook="admin_slides_index_row_actions">
          <%= link_to_edit slide, :class => 'edit' %> &nbsp;
          <%= link_to_delete slide %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>



Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree_slider-1.1.0 app/views/spree/admin/slides/index.html.erb
spree_slider-1.0.1 app/views/spree/admin/slides/index.html.erb
spree_slider-1.0.0 app/views/spree/admin/slides/index.html.erb