Orbit/app/views/layouts/_side_bar.html.erb

9 lines
412 B
Plaintext
Raw Normal View History

2013-05-02 03:35:48 +00:00
<nav id="sidebar">
<h2 class="position">
<%= link_to content_tag(:i, nil, :class => (local_assigns.has_key? :icon) ? icon : 'icons-gauge'), (local_assigns.has_key? :link_url) ? link_url : admin_dashboards_path %>
</h2>
<div id="sidebar-menu">
<%= render ((local_assigns.has_key? :side_bar_content) ? side_bar_content : 'layouts/side_bar_content') %>
2012-10-15 07:30:48 +00:00
</div>
2013-05-02 03:35:48 +00:00
<div class="sub-nav-arrow"></div>
</nav>