Sha256: 0fe9e9e8e49f59b28f6dfcaf6831ef3b37fe48b7b9a1b76831d9da4b762828e1

Contents?: true

Size: 476 Bytes

Versions: 4

Compression:

Stored size: 476 Bytes

Contents

<%= content_item_tag aside do %>
  <%= tag.h3 aside.heading, class: aside.heading_style_class if aside.show_heading? %>

  <% if aside.children.any? %>
    <% items = aside.children.select(&:visible?) %>
    <% last = items.pop %>
    <div role="aside-container" <%= "class=reverse" if aside.reverse %>>
      <div>
        <%= render_content_items items %>
      </div>
      <aside>
        <%= render_content_items [last] %>
      </aside>
    </div>
  <% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
katalyst-content-2.7.0 app/views/katalyst/content/asides/_aside.html.erb
katalyst-content-2.6.2 app/views/katalyst/content/asides/_aside.html.erb
katalyst-content-2.6.1 app/views/katalyst/content/asides/_aside.html.erb
katalyst-content-2.6.0 app/views/katalyst/content/asides/_aside.html.erb