Sha256: d1ccd1664ac6ba8ee5a682f796d4cd9532cdc228e366e7e29fae72c382ee0573

Contents?: true

Size: 441 Bytes

Versions: 18

Compression:

Stored size: 441 Bytes

Contents

<div class="box_relationships" id="<%= association_name %>">

  <h2>
    <%= association_name.titleize.humanize.pluralize %>
    <small><%= add_new %></small>
  </h2>

  <% if @items.any? -%>
    <%= table %>
    <%= paginate(@items, Typus.pagination.merge(:anchor => association_name)) %>
  <% else %>
    <p><%= Typus::I18n.t("No %{resources} found.", :resources => association_name.humanize.downcase.pluralize) %></p>
  <% end %>

</div>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
typus-3.1.4 app/views/admin/templates/_has_many.html.erb
typus-3.1.3 app/views/admin/templates/_has_many.html.erb
typus-3.1.2 app/views/admin/templates/_has_many.html.erb
typus-3.1.1 app/views/admin/templates/_has_many.html.erb
typus-3.1.0 app/views/admin/templates/_has_many.html.erb
typus-3.1.0.rc19 app/views/admin/templates/_has_many.html.erb
typus-3.1.0.rc18 app/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc17 app/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc16 app/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc15 app/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc14 app/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc13 app/themes/default/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc12 app/themes/default/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc11 app/themes/default/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc10 app/themes/default/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc9 app/themes/default/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc8 app/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc7 app/views/admin/templates/_has_n.html.erb