diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-09 22:26:36 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2007-09-09 22:26:36 +0000 |
commit | c70a7311159b813facec3b76978086f8106377cc (patch) | |
tree | 4c0d2a2bcc9039e3fd7e170a2dad756bdcc4992a /actionpack/lib/action_controller/templates/scaffolds/layout.erb | |
parent | 6b0a6472365a7b9c3883d2de3ae19b49e77c847f (diff) | |
download | rails-c70a7311159b813facec3b76978086f8106377cc.tar.gz rails-c70a7311159b813facec3b76978086f8106377cc.tar.bz2 rails-c70a7311159b813facec3b76978086f8106377cc.zip |
Removed ActionController::Base.scaffold -- it went through the whole idea of scaffolding (card board walls you remove and tweak one by one). Use the scaffold generator instead (it does resources too now!) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller/templates/scaffolds/layout.erb')
-rw-r--r-- | actionpack/lib/action_controller/templates/scaffolds/layout.erb | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/actionpack/lib/action_controller/templates/scaffolds/layout.erb b/actionpack/lib/action_controller/templates/scaffolds/layout.erb deleted file mode 100644 index 759781e0e7..0000000000 --- a/actionpack/lib/action_controller/templates/scaffolds/layout.erb +++ /dev/null @@ -1,69 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" - "http://www.w3.org/TR/html4/loose.dtd"> -<html> -<head> - <title>Scaffolding</title> - <style> - body { background-color: #fff; color: #333; } - - body, p, ol, ul, td { - font-family: verdana, arial, helvetica, sans-serif; - font-size: 13px; - line-height: 18px; - } - - pre { - background-color: #eee; - padding: 10px; - font-size: 11px; - } - - a { color: #000; } - a:visited { color: #666; } - a:hover { color: #fff; background-color:#000; } - - .fieldWithErrors { - padding: 2px; - background-color: red; - display: table; - } - - #errorExplanation { - width: 400px; - border: 2px solid red; - padding: 7px; - padding-bottom: 12px; - margin-bottom: 20px; - background-color: #f0f0f0; - } - - #errorExplanation h2 { - text-align: left; - font-weight: bold; - padding: 5px 5px 5px 15px; - font-size: 12px; - margin: -7px; - background-color: #c00; - color: #fff; - } - - #errorExplanation p { - color: #333; - margin-bottom: 0; - padding: 5px; - } - - #errorExplanation ul li { - font-size: 12px; - list-style: square; - } - </style> -</head> -<body> - -<p style="color: green"><%= flash[:notice] %></p> - -<%= yield %> - -</body> -</html> |