Sha256: c73318435dc9f6f23ab07e01369811bd6ffced04c592ce7e814e7812a6a3f2e8
Contents?: true
Size: 1.47 KB
Versions: 1
Compression:
Stored size: 1.47 KB
Contents
<div id="sidebar-nav"> <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] || admin_list_name(menu_item[:model_info], false) is_active = active?(menu_item) %><li<% if is_active %> class="active"<% end %>> <% if is_active %> <div class="pointer"> <div class="arrow"></div> <div class="arrow_border"></div> </div> <% end %> <a href="<%= menu_item[:uri] %>"<% if has_sub_items %> class="dropdown-toggle"<% end %>> <i class="<%= menu_item[:ico] %>"></i> <span><%= item_name %></span> <% if has_sub_items %> <i class="fa fa-chevron-down"></i> <% end %> </a><% if has_sub_items concat render 'rademade_admin/_blocks/sub_menu', :menu_item => menu_item end %></li><% end end %></ul> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rademade_admin-0.0.1 | app/views/rademade_admin/_blocks/_menu.html.erb |