Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ol class="carousel-indicators">
- <% @products.each_with_index do |product, index| %>
- <li data-target="#carousel-example-generic" data-slide-to="<%= index %>" class="<%= "active" if index == 0 %>">
- <% end %>
- </ol>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement