Sha256: 2d9d992e744413e0f2c1594e68ba8d36e6b59056cf102eb865cbc05a1c426054

Contents?: true

Size: 822 Bytes

Versions: 20

Compression:

Stored size: 822 Bytes

Contents

<% content_for :sidebar do %>
  <%= typus_block :location => @resource[:self], :partial => 'sidebar' %>
  <%= actions %>
  <%= search %>
  <%= filters %>
<% end %>

<h2><%= @resource[:class].typus_human_name.pluralize %> <%= remove_filter_link %></h2>

<%= typus_block :location => @resource[:self], :partial => 'index' %>

<% unless @items.count.zero? -%>
  <%= build_list(@resource[:class], @fields, @items) %>
  <%= pagination %>
<% else %>
  <div id="flash" class="notice">
    <% if @resource[:class].count.zero? %>
      <p><%= _("There are no {{records}}.", :records => @resource[:class].typus_human_name.pluralize.downcase) %></p>
    <% else %>
      <p><%= _("There are no {{records}} under this filter.", :records => @resource[:class].typus_human_name.pluralize.downcase) %></p>
    <% end %>
  </div>
<% end %>

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
fesplugas-typus-0.9.16 app/views/admin/resources/index.html.erb
fesplugas-typus-0.9.17 app/views/admin/resources/index.html.erb
typus-0.9.34 app/views/admin/resources/index.html.erb
typus-0.9.33 app/views/admin/resources/index.html.erb
typus-0.9.32 app/views/admin/resources/index.html.erb
typus-0.9.31 app/views/admin/resources/index.html.erb
typus-0.9.30 app/views/admin/resources/index.html.erb
typus-0.9.29 app/views/admin/resources/index.html.erb
typus-0.9.28 app/views/admin/resources/index.html.erb
typus-0.9.27 app/views/admin/resources/index.html.erb
typus-0.9.26 app/views/admin/resources/index.html.erb
typus-0.9.25 app/views/admin/resources/index.html.erb
typus-0.9.24 app/views/admin/resources/index.html.erb
typus-0.9.23 app/views/admin/resources/index.html.erb
typus-0.9.22 app/views/admin/resources/index.html.erb
typus-0.9.21 app/views/admin/resources/index.html.erb
typus-0.9.20 app/views/admin/resources/index.html.erb
typus-0.9.19 app/views/admin/resources/index.html.erb
typus-0.9.18 app/views/admin/resources/index.html.erb
typus-0.9.17 app/views/admin/resources/index.html.erb