Sha256: adfd864f8f8b1de06b25fc7603a35854c6ecda92259e062da0df5edbf4e0c1f6

Contents?: true

Size: 758 Bytes

Versions: 10

Compression:

Stored size: 758 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', '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

10 entries across 10 versions & 1 rubygems

Version Path
promethee-4.1.9 app/views/promethee/components/slider/_show.html.erb
promethee-4.1.8 app/views/promethee/components/slider/_show.html.erb
promethee-4.1.7 app/views/promethee/components/slider/_show.html.erb
promethee-4.1.6 app/views/promethee/components/slider/_show.html.erb
promethee-4.1.5 app/views/promethee/components/slider/_show.html.erb
promethee-4.1.4 app/views/promethee/components/slider/_show.html.erb
promethee-4.1.3 app/views/promethee/components/slider/_show.html.erb
promethee-4.1.2 app/views/promethee/components/slider/_show.html.erb
promethee-4.1.1 app/views/promethee/components/slider/_show.html.erb
promethee-4.1.0 app/views/promethee/components/slider/_show.html.erb