Sha256: 58e8fa0176d27def22cae27dcbee262fdb1a0e53617ea93d6dcdbf816fecc0b9

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 Bytes

Contents

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

  <h2>
    <%= association_name.capitalize.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.pluralize.downcase) %></p>
  <% end %>

</div>

Version data entries

1 entries across 1 versions & 1 rubygems

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