Sha256: 608ebcf50ca090a1cf8bd3c72f5d1006b89a1c8ca1277f7dab041aa404163b8a

Contents?: true

Size: 660 Bytes

Versions: 2

Compression:

Stored size: 660 Bytes

Contents

<div class="slider slick_slider_widget">
  <% widget.panels.each do |p| %>
    <div>
      <% if p.link.present? %>
        <%= link_to scrivito_path(p.link) do %>
          <%= scrivito_image_tag p, :image %>
          <p class="h4"><%= p.link.title %></p>
        <% end %>
      <% else %>
        <%= scrivito_image_tag p, :image %>
      <% end %>
    </div>
  <% end %>

  <% if scrivito_in_editable_view? %>
    <div class="add_new_panel">
      <p class="h4"><a class="slick_slider_widget_add_new_panel scrivito_editing_link" href="#" pageid="<%= @obj.id %>" widgetid="<%= widget.id %>">Add New<br />Slider Panel</a></p>
    </div>
  <% end %>

</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
scrivito_slick_slider_widget-0.0.60 app/views/slick_slider_widget/show.html.erb
scrivito_slick_slider_widget-0.0.3 app/views/slick_slider_widget/show.html.erb