2012-12-19 09:15:31 +00:00
|
|
|
<% if @menu_page && @menu_page.visible_children.size > 0 %>
|
|
|
|
<div class='category_list'>
|
2013-02-06 08:28:05 +00:00
|
|
|
<!-- <h3 class='h3'><%#= @menu_page.title %></h3> -->
|
2012-12-28 03:10:33 +00:00
|
|
|
<ul class='list'>
|
2012-12-21 06:56:12 +00:00
|
|
|
<% @menu_page.visible_children.each do |child| %>
|
2012-12-19 09:15:31 +00:00
|
|
|
<li class="<%= @page_id.eql?(child.id) ? 'active' : nil %>">
|
|
|
|
<a href="<%= (child.class.to_s.eql?('Page') ? '/' + child.path : child.url) %>"><%= child.title %></a>
|
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2012-12-21 06:56:12 +00:00
|
|
|
<% end %>
|