diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-24 14:57:49 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-24 15:02:12 -0700 |
commit | 72a3e4b77b0e6e249a534d41ae48acdedd2098cc (patch) | |
tree | 478c939b0e870d03cc4d2752a6917a5249180853 /railties/lib | |
parent | 2538ef0d09954340701354e8fcf57e76c4210416 (diff) | |
download | rails-72a3e4b77b0e6e249a534d41ae48acdedd2098cc.tar.gz rails-72a3e4b77b0e6e249a534d41ae48acdedd2098cc.tar.bz2 rails-72a3e4b77b0e6e249a534d41ae48acdedd2098cc.zip |
Rename fieldWithErrors style to field_with_errors. Remove unused alert style.
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/erb/scaffold/templates/show.html.erb | 2 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/stylesheets/templates/scaffold.css | 8 |
2 files changed, 3 insertions, 7 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 4dd2e6bf8c..6b3518717a 100644 --- a/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb +++ b/railties/lib/rails/generators/erb/scaffold/templates/show.html.erb @@ -1,4 +1,4 @@ -<p class="notice"><%%= notice %></p> +<p id="notice"><%%= notice %></p> <% for attribute in attributes -%> <p> diff --git a/railties/lib/rails/generators/rails/stylesheets/templates/scaffold.css b/railties/lib/rails/generators/rails/stylesheets/templates/scaffold.css index 9f2056a702..1ae7000299 100644 --- a/railties/lib/rails/generators/rails/stylesheets/templates/scaffold.css +++ b/railties/lib/rails/generators/rails/stylesheets/templates/scaffold.css @@ -20,15 +20,11 @@ div.field, div.actions { margin-bottom: 10px; } -.notice { +#notice { color: green; } -.alert { - color: red; -} - -.fieldWithErrors { +.field_with_errors { padding: 2px; background-color: red; display: table; |