Sha256: 6cfd8fffc04dda4de1bfb574839dd59a3d92753dc20e3909bf7d1d365dc4f5f4

Contents?: true

Size: 452 Bytes

Versions: 2

Compression:

Stored size: 452 Bytes

Contents

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

  <h2>
    <%= association_name.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

2 entries across 2 versions & 1 rubygems

Version Path
typus-3.0.6 app/views/admin/templates/_has_n.html.erb
typus-3.0.5 app/views/admin/templates/_has_n.html.erb