aboutsummaryrefslogblamecommitdiffstats
path: root/railties/generators/scaffold/templates/view_show.rhtml
blob: 30a3242f14a58b0f3a9af96e44c9844bf406daf9 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                                         
<%% for column in <%= class_name %>.content_columns %>
<p>
  <b><%%= column.human_name %>:</b> <%%= @<%= singular_name %>[column.name] %>
</p>
<%% end %>

<%%= link_to 'Edit', :action => 'edit<%= suffix %>', :id => @<%= singular_name %>.id %> |
<%%= link_to 'Back', :action => 'list<%= suffix %>' %>