8000 unfuck that class name change · liuwenye2010/bootstrap@f712e92 · GitHub
[go: up one dir, main page]

Skip to content

Commit f712e92

Browse files
committed
unfuck that class name change
1 parent 11dff58 commit f712e92

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/components/forms.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ Block help text—for below inputs or for longer lines of help text—can be eas
535535

536536
## Validation
537537

538-
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.
538+
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.
539539

540540
{% comment %}
541541
{% callout warning %}
@@ -557,8 +557,8 @@ Ensure that an alternative indication of state is also provided. For instance, y
557557
<input type="text" class="form-control form-control-warning" id="inputWarning1">
558558
</div>
559559
<div class="form-group has-danger">
560-
<label class="form-control-label" for="inputError1">Input with danger</label>
561-
<input type="text" class="form-control form-control-error" id="inputError1">
560+
<label class="form-control-label" for="inputDanger1">Input with danger</label>
561+
<input type="text" class="form-control form-control-danger" id="inputDanger1">
562562
</div>
563563

564564
<div class="checkbox has-success">
@@ -576,14 +576,14 @@ Ensure that an alternative indication of state is also provided. For instance, y
576576
<div class="has-danger">
577577
<div class="checkbox">
578578
<label>
579-
<input type="checkbox" id="checkboxError" value="option1">
580-
Checkbox with error
579+
<input type="checkbox" id="checkboxDanger" value="option1">
580+
Checkbox with danger
581581
</label>
582582
</div>
583583
<div class="checkbox has-danger">
584584
<label>
585-
<input type="checkbox" id="checkboxError" value="option1">
586-
Checkbox with error
585+
<input type="checkbox" id="checkboxDanger" value="option1">
586+
Checkbox with danger
587587
</label>
588588
</div>
589589
{% endexample %}

0 commit comments

Comments
 (0)
0