diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2010-04-09 10:40:01 -0700 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2010-04-09 10:48:51 -0700 |
commit | 915a0ac420b986b0f7e9b392e1641d7149545b08 (patch) | |
tree | 6911700bc0d8697fa1bc5cbb57d1cb28cfb6d6c1 /railties/lib/rails/generators | |
parent | e416f1d0ab71e3e720e147e5d0e7f6e8b36516a5 (diff) | |
download | rails-915a0ac420b986b0f7e9b392e1641d7149545b08.tar.gz rails-915a0ac420b986b0f7e9b392e1641d7149545b08.tar.bz2 rails-915a0ac420b986b0f7e9b392e1641d7149545b08.zip |
Notice/alert are out of the layout, so notice has to go back into show to make it work for scaffolding
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r-- | railties/lib/rails/generators/erb/scaffold/templates/show.html.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb b/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb index 24f13fc0f8..06b1365d20 100644 --- a/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb +++ b/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb @@ -1,3 +1,5 @@ +<p class="notice"><%= notice %></p> + <% for attribute in attributes -%> <p> <b><%= attribute.human_name %>:</b> |