Sha256: f565ae628f65795be2d6d683e431b096fda0a5f27363a54b1daca654aeda6050

Contents?: true

Size: 471 Bytes

Versions: 13

Compression:

Stored size: 471 Bytes

Contents

<div class="well" style="padding: 8px 0;">
  <ul class="nav nav-list">

    <% if actions.any? %>
      <% actions.each do |action| %>
        <% klass = action[:url][:action].eql?(params[:action]) ? "active" : "inactive" %>
        <li class="<%= klass %>">
        <%= link_to url_for(action[:url]) do %>
          <i class="icon-<%= action[:icon] %>"></i>
          <%= action[:message] %>
        <% end %>
        </li>
      <% end %>
    <% end %>

  </ul>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
brainsome_typus-4.0.0.beta13 app/views/helpers/admin/resources/_sidebar.html.erb
brainsome_typus-4.0.0.beta12 app/views/helpers/admin/resources/_sidebar.html.erb
brainsome_typus-4.0.0.beta11 app/views/helpers/admin/resources/_sidebar.html.erb
brainsome_typus-4.0.0.beta10 app/views/helpers/admin/resources/_sidebar.html.erb
brainsome_typus-4.0.0.beta9 app/views/helpers/admin/resources/_sidebar.html.erb
brainsome_typus-4.0.0.beta8 app/views/helpers/admin/resources/_sidebar.html.erb
brainsome_typus-4.0.0.beta7 app/views/helpers/admin/resources/_sidebar.html.erb
brainsome_typus-4.0.0.beta6 app/views/helpers/admin/resources/_sidebar.html.erb
brainsome_typus-4.0.0.beta5 app/views/helpers/admin/resources/_sidebar.html.erb
brainsome_typus-4.0.0.beta4 app/views/helpers/admin/resources/_sidebar.html.erb
brainsome_typus-4.0.0.beta3 app/views/helpers/admin/resources/_sidebar.html.erb
brainsome_typus-4.0.0.beta2 app/views/helpers/admin/resources/_sidebar.html.erb
brainsome_typus-4.0.0.beta1 app/views/helpers/admin/resources/_sidebar.html.erb