## Validation
-Bootstrap includes validation styles for error, warning, and success states on form controls. To use, add `.has-warning`, `.has-danger`, or `.has-success` to the parent element. Any `.form-control-label`, `.form-control`, and `.text-help` within that element will receive the validation styles.
+Bootstrap includes validation styles for danger, warning, and success states on form controls. To use, add `.has-warning`, `.has-danger`, or `.has-success` to the parent element. Any `.form-control-label`, `.form-control`, and `.text-help` within that element will receive the validation styles.
{% comment %}
{% callout warning %}
<input type="text" class="form-control form-control-warning" id="inputWarning1">
</div>
<div class="form-group has-danger">
- <label class="form-control-label" for="inputError1">Input with danger</label>
- <input type="text" class="form-control form-control-error" id="inputError1">
+ <label class="form-control-label" for="inputDanger1">Input with danger</label>
+ <input type="text" class="form-control form-control-danger" id="inputDanger1">
</div>
<div class="checkbox has-success">
<div class="has-danger">
<div class="checkbox">
<label>
- <input type="checkbox" id="checkboxError" value="option1">
- Checkbox with error
+ <input type="checkbox" id="checkboxDanger" value="option1">
+ Checkbox with danger
</label>
</div>
<div class="checkbox has-danger">
<label>
- <input type="checkbox" id="checkboxError" value="option1">
- Checkbox with error
+ <input type="checkbox" id="checkboxDanger" value="option1">
+ Checkbox with danger
</label>
</div>
{% endexample %}