aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb
blob: 5e634153beb39641506d173101cbb35107363b76 (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.name %> %>
</p>

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