Sha256: f7ed1f3aa91624f4a466dc6ad134085ccbb4b75bfb72a9dd88d9e03dd23b5703
Contents?: true
Size: 527 Bytes
Versions: 2
Compression:
Stored size: 527 Bytes
Contents
<% param_name = "#{association_name}_page" %> <div class="box_relationships" id="<%= association_name %>"> <h2> <%= @resource.human_attribute_name(association_name) %> <small><%= add_new %></small> </h2> <% if @items.any? -%> <%= table %> <%= admin_paginate(@items, Typus.pagination.merge(:anchor => association_name, :param_name => param_name)) %> <% else %> <p><%= Typus::I18n.t("No %{resources} found.", :resources => association_name.humanize.downcase.pluralize) %></p> <% end %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
typus-3.1.10 | app/views/admin/templates/_has_many.html.erb |
typus-3.1.9 | app/views/admin/templates/_has_many.html.erb |