Sha256: 2dc5c6e5c93abcc2bc5606e1becb4edefc9df3d7f3262c00bbb71e787cdbd402

Contents?: true

Size: 461 Bytes

Versions: 7

Compression:

Stored size: 461 Bytes

Contents

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

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

  <%= form %>

  <% if @items.any? -%>
    <%= table %>
    <%= will_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

7 entries across 7 versions & 1 rubygems

Version Path
typus-3.0.11.rc3 app/views/admin/templates/_has_n.html.erb
typus-3.0.11.rc2 app/views/admin/templates/_has_n.html.erb
typus-3.0.11.rc1 app/views/admin/templates/_has_n.html.erb
typus-3.0.10 app/views/admin/templates/_has_n.html.erb
typus-3.0.9 app/views/admin/templates/_has_n.html.erb
typus-3.0.8 app/views/admin/templates/_has_n.html.erb
typus-3.0.7 app/views/admin/templates/_has_n.html.erb