Sha256: 07a9091986f1e9ca2ffcd723bd60b3a0595dba11a6b3b9ba774295edd59ce8fe

Contents?: true

Size: 442 Bytes

Versions: 2

Compression:

Stored size: 442 Bytes

Contents

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

  <h2>
    <%= model_to_relate.model_name.human.pluralize %>
    <small><%= add_new %></small>
  </h2>

  <%= form %>

  <% if @items.any? -%>
    <%= table %>
    <%= pagination(:anchor => model_to_relate.to_resource) %>
  <% else %>
    <p><%= _t("There are no %{records}.", :records => model_to_relate.model_name.human.pluralize.downcase) %></p>
  <% end %>

</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typus-1.0.0.pre10 app/views/admin/templates/_has_n.html.erb
typus-1.0.0.pre9 app/views/admin/templates/_has_n.html.erb