Sha256: 5dce12844a54b1d2dc11d640da6bb534dbb81434403bb594c25f4ac550dc454b

Contents?: true

Size: 506 Bytes

Versions: 13

Compression:

Stored size: 506 Bytes

Contents

<% param_name = "#{association_name}_page" %>

<%= render :partial => 'admin/templates/modals/has_many' %>

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

  <h2>
    <%= @resource.human_attribute_name(association_name) %>
    <%= " (#{@data.count})" if @resource.typus_options_for(:counters) %>
    <small><%= add_new %></small>
  </h2>

  <% if @items.any? -%>
    <%= table %>
    <%= admin_paginate %>
  <% else %>
    <p><%= Typus::I18n.t("No entries found.") %></p>
  <% end %>

</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
brainsome_typus-4.0.0.beta13 app/views/admin/templates/_has_many.html.erb
brainsome_typus-4.0.0.beta12 app/views/admin/templates/_has_many.html.erb
brainsome_typus-4.0.0.beta11 app/views/admin/templates/_has_many.html.erb
brainsome_typus-4.0.0.beta10 app/views/admin/templates/_has_many.html.erb
brainsome_typus-4.0.0.beta9 app/views/admin/templates/_has_many.html.erb
brainsome_typus-4.0.0.beta8 app/views/admin/templates/_has_many.html.erb
brainsome_typus-4.0.0.beta7 app/views/admin/templates/_has_many.html.erb
brainsome_typus-4.0.0.beta6 app/views/admin/templates/_has_many.html.erb
brainsome_typus-4.0.0.beta5 app/views/admin/templates/_has_many.html.erb
brainsome_typus-4.0.0.beta4 app/views/admin/templates/_has_many.html.erb
brainsome_typus-4.0.0.beta3 app/views/admin/templates/_has_many.html.erb
brainsome_typus-4.0.0.beta2 app/views/admin/templates/_has_many.html.erb
brainsome_typus-4.0.0.beta1 app/views/admin/templates/_has_many.html.erb