Sha256: 1d4ba563defda1a9f9cdce23a4574c10e21d34cd2c162eab4e776ad796901e26

Contents?: true

Size: 416 Bytes

Versions: 3

Compression:

Stored size: 416 Bytes

Contents

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

  <h2>
    <%= association_title %>
    <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_title.downcase) %></p>
  <% end %>

</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typus-3.0.11 app/views/admin/templates/_has_n.html.erb
typus-3.0.11.rc5 app/views/admin/templates/_has_n.html.erb
typus-3.0.11.rc4 app/views/admin/templates/_has_n.html.erb