Sha256: 05c106819381ad7bb1aef04338e3b90d338225d0192345410b060222e1b0205a

Contents?: true

Size: 808 Bytes

Versions: 3

Compression:

Stored size: 808 Bytes

Contents

<%= link_to 'Add New Slide', new_admin_carousel_carousel_slide_path(@carousel), :class => 'big button' %>

<h1>Slides</h1>

<ul class='list sortable'>
  <% @slides.each do |slide| %>
    <li id='carousel_slide_<%= slide.id %>'>
      <div class='item'>
        <div class='icon'>
          <div class='dragger'><span>order</span></div>
        </div>
        <div class='action_links'>
          <%= link_to 'Edit', edit_admin_carousel_carousel_slide_path(@carousel, slide) %>
          <%= link_to 'Delete', admin_carousel_carousel_slide_path(@carousel, slide), :method => :delete, :confirm => 'Are you sure?' %>
        </div>
        <div class='label'>
          <%= link_to slide.label, edit_admin_carousel_carousel_slide_path(@carousel, slide) %>
        </div>
      </div>
    </li>
  <% end %>
</ul>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
comfy_carousel-0.0.3 app/views/admin/carousel/slides/index.html.erb
comfy_carousel-0.0.2 app/views/admin/carousel/slides/index.html.erb
comfy_carousel-0.0.1 app/views/admin/carousel/slides/index.html.erb