Sha256: 70543293fea3078acceca1857efa0e6dd194a691e864843f0ce10335f78eccff
Contents?: true
Size: 776 Bytes
Versions: 2
Compression:
Stored size: 776 Bytes
Contents
<div class="carousel slide <%= promethee_class_for component %>" id="<%= promethee_id_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', 'chevron-left') %> </a> <a class="right carousel-control fontawesome-carousel-control carousel-control-next" href="#slider-<%= component[:id] %>" data-slide="next"> <%= icon('fa', 'chevron-right') %> </a> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
promethee-4.1.11 | app/views/promethee/components/slider/_show.html.erb |
promethee-4.1.10 | app/views/promethee/components/slider/_show.html.erb |