Skip to content

Commit c81ce9f

Browse files
Daniel NiccoliXhmikosR
Daniel Niccoli
authored andcommitted
Removed .col-form-label from vertical form example (#24771)
Fixes #24739
1 parent 1ee9cb0 commit c81ce9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/4.0/components/forms.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,11 +264,11 @@ The `.form-group` class is the easiest way to add some structure to forms. Its o
264264
{% example html %}
265265
<form>
266266
<div class="form-group">
267-
<label class="col-form-label" for="formGroupExampleInput">Example label</label>
267+
<label for="formGroupExampleInput">Example label</label>
268268
<input type="text" class="form-control" id="formGroupExampleInput" placeholder="Example input">
269269
</div>
270270
<div class="form-group">
271-
<label class="col-form-label" for="formGroupExampleInput2">Another label</label>
271+
<label for="formGroupExampleInput2">Another label</label>
272272
<input type="text" class="form-control" id="formGroupExampleInput2" placeholder="Another input">
273273
</div>
274274
</form>

0 commit comments

Comments
 (0)