Sha256: 5df03b66149a866118ce297d05a5aee3fbbc9c3c7764952ef3b3c4766f0ffc44

Contents?: true

Size: 456 Bytes

Versions: 6

Compression:

Stored size: 456 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 %>
    <%= 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

6 entries across 6 versions & 1 rubygems

Version Path
typus-3.1.0.rc6 app/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc5 app/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc4 app/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc3 app/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc2 app/views/admin/templates/_has_n.html.erb
typus-3.1.0.rc1 app/views/admin/templates/_has_n.html.erb