Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply validation state colors to form group help blocks #983

Merged

Conversation

johnberberich
Copy link

This will apply AdminLTE's custom form validation state colors to the help text (.help-block) within a form group. Prior to this change, help text would use Bootstrap's default colors.

This change also includes a few examples of help text added to pages/forms/general.html. Here is an snippet of a form group with some help text:

<div class="form-group has-error">
  <label class="control-label" for="inputError"><i class="fa fa-times-circle-o"></i> Input with
                    error</label>
  <input type="text" class="form-control" id="inputError" placeholder="Enter ...">
  <span class="help-block">Help block with error</span>
</div>

See Bootstrap's documentation for more information about help text.

@almasaeed2010 almasaeed2010 merged commit bdec757 into ColorlibHQ:master Mar 23, 2016
@almasaeed2010
Copy link
Contributor

Great addition! Thanks!

@johnberberich
Copy link
Author

No problem. Thanks for your great work on this theme!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants