1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Revert "correct css selector for the display of validation error messages: changed #error_explanation to #errorExplanation"

At least in master the selector is snake case.

This reverts commit ba2fed4161.
This commit is contained in:
Xavier Noria 2012-11-28 09:21:17 +01:00
parent fdb41cba87
commit 6880b30a59

View file

@ -939,10 +939,10 @@ If you pass `nil` in any of these options, the corresponding section of the `div
The selectors used to customize the style of error messages are:
* `.field_with_errors` - Style for the form fields and labels with errors.
* `#errorExplanation` - Style for the `div` element with the error messages.
* `#errorExplanation h2` - Style for the header of the `div` element.
* `#errorExplanation p` - Style for the paragraph holding the message that appears right below the header of the `div` element.
* `#errorExplanation ul li` - Style for the list items with individual error messages.
* `#error_explanation` - Style for the `div` element with the error messages.
* `#error_explanation h2` - Style for the header of the `div` element.
* `#error_explanation p` - Style for the paragraph holding the message that appears right below the header of the `div` element.
* `#error_explanation ul li` - Style for the list items with individual error messages.
If scaffolding was used, file `app/assets/stylesheets/scaffolds.css.scss` will have been generated automatically. This file defines the red-based styles you saw in the examples above.