Sha256: e3c613dd085de1b0dee5ac1f217436535a5d81f28b5e2ca7ebfe445fa6d53128

Contents?: true

Size: 452 Bytes

Versions: 5

Compression:

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

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

</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
typus-1.0.0.pre5 app/views/admin/templates/_has_n.html.erb
typus-1.0.0.pre4 app/views/admin/templates/_has_n.html.erb
typus-1.0.0.pre3 app/views/admin/templates/_has_n.html.erb
typus-1.0.0.pre2 app/views/admin/templates/_has_n.html.erb
typus-1.0.0.pre app/views/admin/templates/_has_n.html.erb