Sha256: 01e37c0b145d4bf39083e3ce56e446146feaf0a443b5d49ca7bbfac7fcdf81ce
Contents?: true
Size: 413 Bytes
Versions: 10
Compression:
Stored size: 413 Bytes
Contents
<ul class="scopes pull-left"> <% admin.scopes.each do |name, scope| %> <%= content_tag(:li, class: ("active" if scope.active?(params))) do %> <%= link_to persistent_params.merge(scope: (name unless scope.active?(params))) do %> <strong><%= scope.label %></strong> (<%= number_with_delimiter(scope.count(admin.initialize_collection(params))) %>) <% end %> <% end %> <% end %> </ul>
Version data entries
10 entries across 10 versions & 1 rubygems