Sha256: 99d318cd7cab3e84cbd177db9576c440109706fcfec287c1e5609a2b10aa5e6a

Contents?: true

Size: 499 Bytes

Versions: 9

Compression:

Stored size: 499 Bytes

Contents

<div id="menubar">
  <ul id="menu">
    <%
      selected_menu_item = nil
      menu_items.each do |menu_item|
    %>
      <%if menu_item.has_access?(@current_user)%>
      <% if menu_item_selected(menu_item)
          selected_menu_item = menu_item
      %>
        <li class="selected">
        <% else %>
        <li>
        <% end %>
        <a href="<%= menu_item.path %>"><span><%= menu_item.title %></span></a>
      </li>
    <% end %>
  <% end %>
  </ul>
</div>



Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
knitkit-2.0.10 app/views/menus/knitkit/_default_menu.html.erb
knitkit-2.0.9 app/views/menus/knitkit/_default_menu.html.erb
knitkit-2.0.7 app/views/menus/knitkit/_default_menu.html.erb
knitkit-2.0.6 app/views/menus/knitkit/_default_menu.html.erb
knitkit-2.0.5 app/views/menus/knitkit/_default_menu.html.erb
knitkit-2.0.4 app/views/menus/knitkit/_default_menu.html.erb
knitkit-2.0.3 app/views/menus/knitkit/_default_menu.html.erb
knitkit-2.0.2 app/views/menus/knitkit/_default_menu.html.erb
knitkit-2.0.1 app/views/menus/knitkit/_default_menu.html.erb