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


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

<% attributes.reject(&:password_digest?).each do |attribute| -%>
<p>
  <strong><%= attribute.human_name %>:</strong>
  <%%= @<%= singular_table_name %>.<%= attribute.column_name %> %>
</p>

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