Sha256: 6fa00ba28402e0546fa2f4c1aaae5292b8e509f85472ea4a4854b266579dc6d0

Contents?: true

Size: 491 Bytes

Versions: 12

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.human %></h2>
    <div>
      <%= render_field field, record %>
    </div>
  </li>
<% end if show_fields && record -%>
</ul>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
puffer-0.0.32 app/views/puffer/base/show.html.erb
puffer-0.0.31 app/views/puffer/base/show.html.erb
puffer-0.0.30 app/views/puffer/base/show.html.erb
puffer-0.0.29 app/views/puffer/base/show.html.erb
puffer-0.0.28 app/views/puffer/base/show.html.erb
puffer-0.0.26 app/views/puffer/base/show.html.erb
puffer-0.0.25 app/views/puffer/base/show.html.erb
puffer-0.0.24 app/views/puffer/base/show.html.erb
puffer-0.0.23 app/views/puffer/base/show.html.erb
puffer-0.0.22 app/views/puffer/base/show.html.erb
puffer-0.0.21 app/views/puffer/base/show.html.erb
puffer-0.0.20 app/views/puffer/base/show.html.erb