Sha256: 97dcbb10b2d507cfb09933605733903aede398d3f7f4d35694ee411d8da97c30
Contents?: true
Size: 521 Bytes
Versions: 2
Compression:
Stored size: 521 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 %> <%= 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.8 | app/views/admin/templates/_has_many.html.erb |
typus-3.1.7 | app/views/admin/templates/_has_many.html.erb |