aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/templates/scaffolds/show.rhtml
blob: 46cdfdb49352758472aae57e47597a7ce417ea12 (plain) (blame)
1
2
3
4
5
6
7
8
9
<% for column in @scaffold_class.content_columns %>
  <p>
    <b><%= column.human_name %>:</b>
    <%= instance_variable_get("@#{@scaffold_singular_name}").send(column.name) %>
  </p>
<% end %>

<%= link_to "Edit", :action => "edit#{@scaffold_suffix}", :id => instance_variable_get("@#{@scaffold_singular_name}") %> |
<%= link_to "Back", :action => "list#{@scaffold_suffix}" %>