mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
unfuck that class name change
This commit is contained in:
parent
11dff583ce
commit
f712e922d1
1 changed files with 7 additions and 7 deletions
|
@ -535,7 +535,7 @@ Block help text—for below inputs or for longer lines of help text—can be eas
|
||||||
|
|
||||||
## Validation
|
## 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 %}
|
{% comment %}
|
||||||
{% callout warning %}
|
{% callout warning %}
|
||||||
|
@ -557,8 +557,8 @@ Ensure that an alternative indication of state is also provided. For instance, y
|
||||||
<input type="text" class="form-control form-control-warning" id="inputWarning1">
|
<input type="text" class="form-control form-control-warning" id="inputWarning1">
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group has-danger">
|
<div class="form-group has-danger">
|
||||||
<label class="form-control-label" for="inputError1">Input with danger</label>
|
<label class="form-control-label" for="inputDanger1">Input with danger</label>
|
||||||
<input type="text" class="form-control form-control-error" id="inputError1">
|
<input type="text" class="form-control form-control-danger" id="inputDanger1">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="checkbox has-success">
|
<div class="checkbox has-success">
|
||||||
|
@ -576,14 +576,14 @@ Ensure that an alternative indication of state is also provided. For instance, y
|
||||||
<div class="has-danger">
|
<div class="has-danger">
|
||||||
<div class="checkbox">
|
<div class="checkbox">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" id="checkboxError" value="option1">
|
<input type="checkbox" id="checkboxDanger" value="option1">
|
||||||
Checkbox with error
|
Checkbox with danger
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="checkbox has-danger">
|
<div class="checkbox has-danger">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" id="checkboxError" value="option1">
|
<input type="checkbox" id="checkboxDanger" value="option1">
|
||||||
Checkbox with error
|
Checkbox with danger
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
{% endexample %}
|
{% endexample %}
|
||||||
|
|
Loading…
Reference in a new issue