Sha256: d56ca49db8ab666d0d8e70009d420eeffeddbe323a441de568bfa15c9f23ee50

Contents?: true

Size: 421 Bytes

Versions: 19

Compression:

Stored size: 421 Bytes

Contents

<aside id="nav">
  <nav>
    <ul>
      <% admin.sidebar.each do |item| %>
        <%= content_tag(
          :li,
          link_to(
            item.route,
            :class => item.active == true ? 'active' : nil
          ) {
            "#{content_tag(
              :i, nil, :class => "icon-#{item.icon}"
            )} #{item.label}".html_safe
          }
        ) %>
      <% end %>
    </ul>
  </nav>
</aside>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
cambium-1.3.2 app/views/cambium/admin/_sidebar.html.erb
cambium-1.3.1 app/views/cambium/admin/_sidebar.html.erb
cambium-1.3.0 app/views/cambium/admin/_sidebar.html.erb
cambium-1.2.3 app/views/cambium/admin/_sidebar.html.erb
cambium-1.2.2 app/views/cambium/admin/_sidebar.html.erb
cambium-1.2.1 app/views/cambium/admin/_sidebar.html.erb
cambium-1.2.0 app/views/cambium/admin/_sidebar.html.erb
cambium-1.1.6 app/views/cambium/admin/_sidebar.html.erb
cambium-1.1.5 app/views/cambium/admin/_sidebar.html.erb
cambium-1.1.4 app/views/cambium/admin/_sidebar.html.erb
cambium-1.1.3 app/views/cambium/admin/_sidebar.html.erb
cambium-1.1.2 app/views/cambium/admin/_sidebar.html.erb
cambium-1.1.1 app/views/cambium/admin/_sidebar.html.erb
cambium-1.1.0 app/views/cambium/admin/_sidebar.html.erb
cambium-1.0.4 app/views/cambium/admin/_sidebar.html.erb
cambium-1.0.3 app/views/cambium/admin/_sidebar.html.erb
cambium-1.0.2 app/views/cambium/admin/_sidebar.html.erb
cambium-1.0.1 app/views/cambium/admin/_sidebar.html.erb
cambium-1.0.0 app/views/cambium/admin/_sidebar.html.erb