Skip to content

Commit 3fa312c

Browse files
committed
Use correct class for validation coloring on label elements
1 parent 8750b5f commit 3fa312c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/components/forms.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -710,19 +710,19 @@ Ensure that an alternative indication of state is also provided. For instance, y
710710

711711
{% example html %}
712712
<div class="form-group has-success">
713-
<label class="col-form-label" for="inputSuccess1">Input with success</label>
713+
<label class="form-control-label" for="inputSuccess1">Input with success</label>
714714
<input type="text" class="form-control form-control-success" id="inputSuccess1">
715715
<div class="form-control-feedback">Success! You've done it.</div>
716716
<small class="form-text text-muted">Example help text that remains unchanged.</small>
717717
</div>
718718
<div class="form-group has-warning">
719-
<label class="col-form-label" for="inputWarning1">Input with warning</label>
719+
<label class="form-control-label" for="inputWarning1">Input with warning</label>
720720
<input type="text" class="form-control form-control-warning" id="inputWarning1">
721721
<div class="form-control-feedback">Shucks, check the formatting of that and try again.</div>
722722
<small class="form-text text-muted">Example help text that remains unchanged.</small>
723723
</div>
724724
<div class="form-group has-danger">
725-
<label class="col-form-label" for="inputDanger1">Input with danger</label>
725+
<label class="form-control-label" for="inputDanger1">Input with danger</label>
726726
<input type="text" class="form-control form-control-danger" id="inputDanger1">
727727
<div class="form-control-feedback">Sorry, that username's taken. Try another?</div>
728728
<small class="form-text text-muted">Example help text that remains unchanged.</small>

0 commit comments

Comments
 (0)