aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb
blob: c0e5ccff1e2a608b6d2c28a7aac44b14c0e56dc1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                 
 

                                  
                                     
                                                           



          
                                                                                           
                                                
<p id="notice"><%%= notice %></p>

<% for attribute in attributes -%>
<p>
  <b><%= attribute.human_name %>:</b>
  <%%= @<%= singular_table_name %>.<%= attribute.name %> %>
</p>

<% end -%>

<%%= link_to 'Edit', edit_<%= singular_table_name %>_path(@<%= singular_table_name %>) %> |
<%%= link_to 'Back', <%= index_helper %>_path %>