diff --git a/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml b/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml index 34e43cc8d3..120f0cfb62 100644 --- a/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml +++ b/actionpack/lib/action_controller/templates/scaffolds/layout.rhtml @@ -28,7 +28,7 @@ display: table; } - #ErrorExplanation { + #errorExplanation { width: 400px; border: 2px solid red; padding: 7px; @@ -37,7 +37,7 @@ background-color: #f0f0f0; } - #ErrorExplanation h2 { + #errorExplanation h2 { text-align: left; font-weight: bold; padding: 5px 5px 5px 15px; @@ -47,13 +47,13 @@ color: #fff; } - #ErrorExplanation p { + #errorExplanation p { color: #333; margin-bottom: 0; padding: 5px; } - #ErrorExplanation ul li { + #errorExplanation ul li { font-size: 12px; list-style: square; } diff --git a/actionwebservice/lib/action_web_service/templates/scaffolds/layout.rhtml b/actionwebservice/lib/action_web_service/templates/scaffolds/layout.rhtml index f083fae08c..38275c8489 100644 --- a/actionwebservice/lib/action_web_service/templates/scaffolds/layout.rhtml +++ b/actionwebservice/lib/action_web_service/templates/scaffolds/layout.rhtml @@ -26,7 +26,7 @@ display: table; } - #ErrorExplanation { + #errorExplanation { width: 400px; border: 2px solid red; padding: 7px; @@ -35,7 +35,7 @@ background-color: #f0f0f0; } - #ErrorExplanation h2 { + #errorExplanation h2 { text-align: left; font-weight: bold; padding: 5px 5px 5px 15px; @@ -45,13 +45,13 @@ color: #fff; } - #ErrorExplanation p { + #errorExplanation p { color: #333; margin-bottom: 0; padding: 5px; } - #ErrorExplanation ul li { + #errorExplanation ul li { font-size: 12px; list-style: square; } diff --git a/railties/lib/rails_generator/generators/components/scaffold/templates/style.css b/railties/lib/rails_generator/generators/components/scaffold/templates/style.css index de2ccc57a8..8f239a3597 100644 --- a/railties/lib/rails_generator/generators/components/scaffold/templates/style.css +++ b/railties/lib/rails_generator/generators/components/scaffold/templates/style.css @@ -22,7 +22,7 @@ a:hover { color: #fff; background-color:#000; } display: table; } -#ErrorExplanation { +#errorExplanation { width: 400px; border: 2px solid red; padding: 7px; @@ -31,7 +31,7 @@ a:hover { color: #fff; background-color:#000; } background-color: #f0f0f0; } -#ErrorExplanation h2 { +#errorExplanation h2 { text-align: left; font-weight: bold; padding: 5px 5px 5px 15px; @@ -41,13 +41,13 @@ a:hover { color: #fff; background-color:#000; } color: #fff; } -#ErrorExplanation p { +#errorExplanation p { color: #333; margin-bottom: 0; padding: 5px; } -#ErrorExplanation ul li { +#errorExplanation ul li { font-size: 12px; list-style: square; }