Sha256: 83ef097a6f0d1b29f002f3502df166fa374f0f46313d70f3591bb159c9966c77
Contents?: true
Size: 754 Bytes
Versions: 67
Compression:
Stored size: 754 Bytes
Contents
<div id="slider-<%= component[:id] %>" class="carousel slide <%= promethee_class_for component %>" data-ride="carousel"> <div class="carousel-inner"> <% component[:children].each.with_index do |item, n| %> <div class="carousel-item item<%= ' active' if n.zero? %>"> <%= render 'promethee/show/component', component: item %> </div> <% end %> </div> <a class="left carousel-control fontawesome-carousel-control carousel-control-prev" href="#slider-<%= component[:id] %>" data-slide="prev"> <%= icon('fa', 'angle-left') %> </a> <a class="right carousel-control fontawesome-carousel-control carousel-control-next" href="#slider-<%= component[:id] %>" data-slide="next"> <%= icon('fa', 'angle-right') %> </a> </div>
Version data entries
67 entries across 67 versions & 1 rubygems