diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-16 19:43:27 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-16 19:43:27 +0000 |
commit | 2f3db152ecbb76c9bcb5b2e3aa12816896df79f1 (patch) | |
tree | dd2e7378ea09f1ba2ce124a3c7b24ca8c47ac01f /actionpack/lib/action_controller | |
parent | b64c26ad9db0c85fc21c34dde28ba747552f05c9 (diff) | |
download | rails-2f3db152ecbb76c9bcb5b2e3aa12816896df79f1.tar.gz rails-2f3db152ecbb76c9bcb5b2e3aa12816896df79f1.tar.bz2 rails-2f3db152ecbb76c9bcb5b2e3aa12816896df79f1.zip |
Made the last tweaks before 0.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/lib/action_controller')
-rw-r--r-- | actionpack/lib/action_controller/templates/scaffolds/layout.rhtml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml b/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml index 511054abe8..77eecdf9d6 100644 --- a/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml +++ b/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml @@ -19,6 +19,42 @@ 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> |