Sha256: 1e6949977728ec0745bbba8051ec007dcb8419e2d1b4bba45b8194c4a5af493a

Contents?: true

Size: 349 Bytes

Versions: 3

Compression:

Stored size: 349 Bytes

Contents

<% @menu_items.each do |menu_item| %>
  <a href="<%= menu_item.resolved_link %>" class="<%= menu_item.css_classes %>"><%= menu_item.text %></a>
  <% if @render_page_menu && menu_item.page %>
    <%= render PandaCms::PageMenuComponent.new(page: menu_item.page, start_depth: 1, styles: @page_menu_styles, show_heading: false) %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
panda_cms-0.6.3 app/components/panda_cms/menu_component.html.erb
panda_cms-0.6.2 app/components/panda_cms/menu_component.html.erb
panda_cms-0.6.1 app/components/panda_cms/menu_component.html.erb