Sha256: d9594e440e9996e1ec8d96925f6e574c01e71a135c5940c8ccaf07245f8c0172
Contents?: true
Size: 742 Bytes
Versions: 7
Compression:
Stored size: 742 Bytes
Contents
<% page_title = @resource.model_name.human.pluralize title(page_title) %> <% content_for :sidebar, build_sidebar %> <h2> <%= page_title %> <small><%= list_actions %></small> </h2> <%= display_flash_message %> <%= render 'index' %> <ul class="predefined_filters"> <% predefined_filters.each do |filter, action, scope| %> <li><%= link_to Typus::I18n.t(filter), params.dup.cleanup.merge(:action => action) %> (<%= @resource.send(scope).count %>)</li> <% end %> </ul> <% if @items.any? -%> <%= build_list(@resource, fields, @items) %> <%= will_paginate(@items, Typus.pagination) %> <% else %> <p><%= Typus::I18n.t("No %{resources} found.", :resources => @resource.model_name.human.downcase.pluralize) %></p> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems