Sha256: f9259014db7a0105ffcdb3765be464116a35e478110bbf622be1d4162084ed8a
Contents?: true
Size: 1.82 KB
Versions: 1
Compression:
Stored size: 1.82 KB
Contents
<div id="sidebar-nav" class="content-menu"> <ul id="dashboard-menu"><% main_menu.each do |menu_item| has_sub_items = (menu_item[:sub].is_a? Array and menu_item[:sub].size > 0) if has_sub_items || menu_item[:uri] item_name = menu_item[:name] || menu_item[:model_info].item_name is_active = active?(menu_item) %><li class="menu-box<% if is_active %> active<% end %>"><% if is_active %><div class="pointer"> <div class="arrow"></div> <div class="arrow_border"></div> </div><% end %><a href="<%= menu_item[:uri] %>" class="menu-link<% if has_sub_items %> dropdown-toggle<% end %>"> <i class="<%= menu_item[:ico] %>"></i> <span><%= item_name %></span><% if has_sub_items %><span class="caret"></span><% end %></a><% if has_sub_items %><ul class="submenu"><% concat render @template_service.sub_menu_link_block, { :uri => admin_list_uri(menu_item[:model_info]), :title => menu_item[:model_info].item_name } concat render @template_service.sub_menu_block, :menu_item => menu_item %></ul><% end %></li><% end end %></ul> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rademade_admin-0.1.0 | app/views/rademade_admin/_blocks/_menu.html.erb |