Sha256: d7b7d4577f6ba68bc46e7da596d8dbe9f415763934d5b410d8e21b60d8f82466
Contents?: true
Size: 1.08 KB
Versions: 2
Compression:
Stored size: 1.08 KB
Contents
<!-- Carousel --> <div id="carousel<%= widget.id %>" class="carousel slide" data-ride="carousel"> <% if scrivito_in_editable_view? %> <div pageid="<%= @obj.id %>" widgetid="<%= widget.id %>" class="scrivito_elastic_slider_widget_add-new-panel"> <%= content_tag(:i, '', class: 'fa fa-plus') + "new panel" %> </div> <% 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
scrivito_elastic_slider_widget-0.0.60 | app/views/elastic_slider_widget/show.html.erb |
scrivito_elastic_slider_widget-0.0.5 | app/views/elastic_slider_widget/show.html.erb |