Sha256: a9237a951316c7808803d8e95a6a9eb1e00ddb3d256b30e7dac940c665f71832

Contents?: true

Size: 463 Bytes

Versions: 1

Compression:

Stored size: 463 Bytes

Contents

<p>Find me in app/views/forest/<%= plural_name %>/show.html.erb</p>

<%%# content_for :page_description, @<%= singular_name %>.description if @<%= singular_name %>.try(:description).present? %>

<%- for attribute in attributes -%>
<p>
  <b><%= attribute.name.titleize %></b>
  <%%= @<%= singular_name %>.<%= attribute.name %> %>
</p>
<%- end -%>

<p>
  <b>Status:</b>
  <%%= @<%= singular_name %>.try(:status) %>
</p>

<%%= render_blocks @<%= singular_name %> %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
forest_cms-0.98.1 lib/generators/forest/scaffold/templates/views/public/show.html.erb