This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/layouts/_side_bar.html.erb

9 lines
412 B
Plaintext
Raw Normal View History

<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>
<div class="sub-nav-arrow"></div>
</nav>