Sha256: 1de5de15b86ba6adb84ebfd5d7618d12e339152c7d7e360727005c34b405a3b4

Contents?: true

Size: 974 Bytes

Versions: 1

Compression:

Stored size: 974 Bytes

Contents

<%= link_to 'Add New Carousel', new_admin_carousel_carousel_path, :class => 'big button' %>

<h1>Carousels</h1>

<ul class='list'>
  <% @carousels.each do |carousel| %>
    <li>
      <div class='item'>
        <div class='icon'></div>
        <div class='action_links'>
          <%= link_to pluralize(carousel.slides.count, 'Slide'), admin_carousel_carousel_slides_path(carousel) %>
          <%= link_to 'Edit', edit_admin_carousel_carousel_path(carousel) %>
          <%= link_to 'Delete', admin_carousel_carousel_path(carousel), :method => :delete, :confirm => 'Are you sure?' %>
        </div>
        <div class='label'>
          <%= link_to carousel.label, admin_carousel_carousel_slides_path(carousel) %>
          <div class='sublabel'>
            <%= carousel.identifier %>
            <% if carousel.dimensions.present? %>
              [<%= carousel.dimensions %>]
            <% end %>
          </div>
        </div>
      </div>
    </li>
  <% end %>
</ul>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comfy_carousel-0.0.3 app/views/admin/carousel/carousels/index.html.erb