twitter/bootstrap — Issue #1939: hep-block and help-inline with error, warning and success
Author: dyve
Created: 2012-02-13 07:55:53+00:00
State: open

When a form is styled with form control states (http://twitter.github.com/bootstrap/base-css.html?#forms, scroll down a little). the example fails to take regular help text into account.

This is a demo of the official Bootstrap example with added help-block p's with regular help text:
: http://jsfiddle.net/TE7HK/1/ (same goes for help-inline)

I think it is not right to style the actual help text with a warning, error, success etc. class. The example on the Bootstrap site suggests the error texts were explicitly inserted by the backend. Are these help texts? It does not feel right.

I see two possible solutions.

1. Make a difference between help-inline/help-block and message-inline/message-block. Messages are styled like help texts, but take their colors from a surrounding control-group.error class

2. Add the option to define a help-block and help-inline with an extra class "default", which makes them unaffected by surrounding error, warning, etc.

e.g.

You won't see mee turn red because of an error!