Sha256: 27c0278b1a53cb9803b33335366a2327e7b3d51e6cf5919e89cbc79804a531b7

Contents?: true

Size: 339 Bytes

Versions: 6

Compression:

Stored size: 339 Bytes

Contents

<%= content_item_tag aside do %>
  <%= tag.h3 aside.heading if aside.show_heading? %>

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
katalyst-content-1.0.2 app/views/katalyst/content/asides/_aside.html.erb
katalyst-content-1.0.1 app/views/katalyst/content/asides/_aside.html.erb
katalyst-content-1.0.0 app/views/katalyst/content/asides/_aside.html.erb
katalyst-content-0.2.2 app/views/katalyst/content/asides/_aside.html.erb
katalyst-content-0.2.1 app/views/katalyst/content/asides/_aside.html.erb
katalyst-content-0.2.0 app/views/katalyst/content/asides/_aside.html.erb