Sha256: ec136ee096ee309e8c1a110783498a90bb6dba70d230fd99966e79b619050887

Contents?: true

Size: 491 Bytes

Versions: 4

Compression:

Stored size: 491 Bytes

Contents

<% @title = "Show #{resource.human}" %>
<h1><%= @title %></h1>
<ul class="show_entry">
  <% if resource.children.present? %>
    <li>
      <h2>Associations</h2>
      <% resource.children.each do |child| %>
        <%= link_to child.human, child.collection_path %>
      <% end %>
    </li>
  <% end %>

<% show_fields.each do |field| -%>
  <li>
    <h2><%= field.label %></h2>
    <div>
      <%= render_field field, record %>
    </div>
  </li>
<% end if show_fields && record -%>
</ul>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puffer-0.0.19 app/views/puffer/show.html.erb
puffer-0.0.18 app/views/puffer/show.html.erb
puffer-0.0.17 app/views/puffer/show.html.erb
puffer-0.0.16 app/views/puffer/show.html.erb