Sha256: b1fecfaf91c421771a0c126cd32afd96f0b85ab38668bbef90897651c823d065

Contents?: true

Size: 396 Bytes

Versions: 61

Compression:

Stored size: 396 Bytes

Contents

<li class="<%= "selected" if request.path.eql?(item_url) %>">
  <% if item_url.is_a?(Hash) %>
    <a href="#"><%= item_name %></a>
    <ul>
      <% item_url.each do |child_name,child_url| %>
        <%= render "layouts/koi/navigation_item", item_name: child_name, item_url: child_url %>
      <% end %>
    </ul>
  <% else %>
    <a href="<%= item_url %>"><%= item_name %></a>
  <% end %>
</li>

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
katalyst-koi-4.14.1 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.14.0 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.13.2 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.13.0 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.12.6 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.12.5 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.12.4 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.12.3 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.12.2 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.12.1 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.12.0 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.11.2 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.11.1 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.11.0 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.10.3 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.10.2 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.10.1 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.10.0 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.9.5 app/views/layouts/koi/_navigation_item.html.erb
katalyst-koi-4.9.4 app/views/layouts/koi/_navigation_item.html.erb