orbit-4-2/app/views/layouts/_side_bar.html.erb

6 lines
341 B
Plaintext
Raw Permalink 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>
<%= render ((local_assigns.has_key? :side_bar_content) ? side_bar_content : 'layouts/side_bar_content') %>
</nav>