Source

RubyLearning / ProjectTrak / vendor / rails / railties / lib / rails_generator / generators / components / scaffold / templates / view_show.html.erb

Full commit
<% for attribute in attributes -%>
<p>
  <b><%= attribute.column.human_name %>:</b>
  <%%=h @<%= singular_name %>.<%= attribute.name %> %>
</p>

<% end -%>

<%%= link_to 'Edit', edit_<%= singular_name %>_path(@<%= singular_name %>) %> |
<%%= link_to 'Back', <%= plural_name %>_path %>