Sha256: cb0e51575a7354e5d25a1e87aae6ee1cf4280b0360c5d97e5df5da83cb47a2be

Contents?: true

Size: 356 Bytes

Versions: 3

Compression:

Stored size: 356 Bytes

Contents

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

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

  <% if @items.any? -%>
    <%= table %>
  <% else %>
    <p><%= Typus::I18n.t("No %{resources} found.", :resources => model_to_relate.model_name.human.downcase) %></p>
  <% end %>

</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
typus-3.0.6 app/views/admin/templates/_has_one.html.erb
typus-3.0.5 app/views/admin/templates/_has_one.html.erb
typus-3.0.4 app/views/admin/templates/_has_one.html.erb