Sha256: 981b2685c7d5f46ac199a087d09262d6f9af3cfe9f548b639e1dbd2f0882864d
Contents?: true
Size: 1.01 KB
Versions: 1
Compression:
Stored size: 1.01 KB
Contents
<!-- Carousel --> <div id="carousel<%= widget.id %>" class="carousel slide" data-ride="carousel"> <% if scrivito_in_editable_view? %> <%= link_to "Add new Panel", "#", widgetid: widget.id, class: "scrivito_elastic_slider_widget_add-new-panel" %> <% end %> <ol class="carousel-indicators"> <% (0..widget.panels.size-1).each do |index| %> <li data-target="#carousel<%= widget.id %>" data-slide-to="<%= index %>" <% if index == 0 %>class="active"<% end %>></li> <% end %> </ol> <div class="carousel-inner"> <% widget.panels.each do |panel| %> <%= render template: 'elastic_slider_panel_widget/show', locals: {widget: panel} %> <% end %> </div> <a class="left carousel-control" href="#carousel<%= widget.id %>" role="button" data-slide="prev"><span class="glyphicon glyphicon-chevron-left"></span></a> <a class="right carousel-control" href="#carousel<%= widget.id %>" role="button" data-slide="next"><span class="glyphicon glyphicon-chevron-right"></span></a> </div><!-- /.carousel -->
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
scrivito_elastic_slider_widget-0.0.4 | app/views/elastic_slider_widget/show.html.erb |