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

Version Path
promethee-4.0.8 app/views/promethee/components/slider/_show.html.erb
promethee-4.0.7 app/views/promethee/components/slider/_show.html.erb
promethee-4.0.6 app/views/promethee/components/slider/_show.html.erb
promethee-4.0.5 app/views/promethee/components/slider/_show.html.erb
promethee-4.0.4 app/views/promethee/components/slider/_show.html.erb
promethee-4.0.3 app/views/promethee/components/slider/_show.html.erb
promethee-4.0.2 app/views/promethee/components/slider/_show.html.erb
promethee-4.0.1 app/views/promethee/components/slider/_show.html.erb
promethee-4.0.0 app/views/promethee/components/slider/_show.html.erb
promethee-3.0.2 app/views/promethee/components/slider/_show.html.erb
promethee-3.0.1 app/views/promethee/components/slider/_show.html.erb
promethee-3.0.0 app/views/promethee/components/slider/_show.html.erb
promethee-2.1.3 app/views/promethee/components/slider/_show.html.erb
promethee-2.1.2 app/views/promethee/components/slider/_show.html.erb
promethee-2.1.1 app/views/promethee/components/slider/_show.html.erb
promethee-2.1.0 app/views/promethee/components/slider/_show.html.erb
promethee-2.0.9 app/views/promethee/components/slider/_show.html.erb
promethee-2.0.8 app/views/promethee/components/slider/_show.html.erb
promethee-2.0.7 app/views/promethee/components/slider/_show.html.erb
promethee-2.0.6 app/views/promethee/components/slider/_show.html.erb