twitter/bootstrap — pull request #2897 by olvlvl (2012-04-01 20:17:12+00:00)
Title: Mark required controls

Currently, required controls cannot be easily identified. This patch marks required controls by adding an asterisk to their label. Initially, the asterisk has the color `@infoText` but the color is changed to `@errorText` or `@warningText` if the control group has the class `.error` or `.warning`.

I already use it for my toolkit, you can check it out here:

- : Notice the "required" control in the "Required and validated" section.
- : Notice the "required" control in with the `.error` class in the "Goes great with javascript" section.