Sha256: 477d1de3214ec8496aedbe4097d7f41ade0dbd6d17a020be219d0b15231862cf

Contents?: true

Size: 696 Bytes

Versions: 62

Compression:

Stored size: 696 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 |child, n| %>
      <div class="item<%= ' active' if n.zero? %>">
        <%= render 'promethee/show/component', component: child %>
      </div>
    <% end %>
  </div>

  <a class="left carousel-control fontawesome-carousel-control" href="#slider-<%= component[:id] %>" data-slide="prev">
    <%= fa_icon 'angle-left' %>
  </a>
  <a class="right carousel-control fontawesome-carousel-control" href="#slider-<%= component[:id] %>" data-slide="next">
    <%= fa_icon 'angle-right' %>
  </a>
</div>

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
promethee-1.3.6 app/views/promethee/components/slider/_show.html.erb
promethee-1.3.5 app/views/promethee/components/slider/_show.html.erb
promethee-1.3.4 app/views/promethee/components/slider/_show.html.erb
promethee-1.3.3 app/views/promethee/components/slider/_show.html.erb
promethee-1.3.2 app/views/promethee/components/slider/_show.html.erb
promethee-1.3.1 app/views/promethee/components/slider/_show.html.erb
promethee-1.3.0 app/views/promethee/components/slider/_show.html.erb
promethee-1.2.31 app/views/promethee/components/slider/_show.html.erb
promethee-1.2.30 app/views/promethee/components/slider/_show.html.erb
promethee-1.2.29 app/views/promethee/components/slider/_show.html.erb
promethee-1.2.28 app/views/promethee/components/slider/_show.html.erb
promethee-1.2.27 app/views/promethee/components/slider/_show.html.erb
promethee-1.2.26 app/views/promethee/components/slider/_show.html.erb
promethee-1.2.25 app/views/promethee/components/slider/_show.html.erb
promethee-1.2.24 app/views/promethee/components/slider/_show.html.erb
promethee-1.2.23 app/views/promethee/components/slider/_show.html.erb
promethee-1.2.22 app/views/promethee/components/slider/_show.html.erb
promethee-1.2.21 app/views/promethee/components/slider/_show.html.erb
promethee-1.2.20 app/views/promethee/components/slider/_show.html.erb
promethee-1.2.19 app/views/promethee/components/slider/_show.html.erb