adminlte-generators
adminlte-generators copied to clipboard
sidebar treeview not opening?
I know there were updates to the AdminLTE - and I see you've made some changes but the release is still 0.24 from 2015; for some reason my treeview is not toggling open at all, and I'm even attempting your example (though it's generating html that's different than what's on the website:
<ul class="sidebar-menu tree" data-widget="tree">
<%= nav_link root_path do %>
<i class="fa fa-dashboard"></i> <span>Dashboard</span>
<% end %>
<%= treeview_link 'Lots of links here' do %>
<%= nav_link "#" do %>
<i class="fa fa-angle-double-right"></i>
One Way
<% end %>
<%= nav_link "#" do %>
<i class="fa fa-angle-double-right"></i>
Another
<% end %>
<% end %>
</ul>
This is generating this in html:
<ul class="sidebar-menu tree" data-widget="tree">
<li class="active"><a href="/">
<i class="fa fa-dashboard"></i> <span>Dashboard</span>
</a></li>
<li class="treeview"><a href="#"><span>Lots of links here</span><i class="fa pull-right fa-angle-left"></i></a><ul class="treeview-menu">
<li><a href="#">
<i class="fa fa-angle-double-right"></i>
One Way
</a></li> <li><a href="#">
<i class="fa fa-angle-double-right"></i>
Another
</a></li></ul></li>
</ul>
However, clicking on the 'Lots of Links here' does NOT toggle open at all. Not sure what's stopping it; will try a small test app with just this gem to see if it functions...