Skip to content

Commit

Permalink
Removed .col-form-label from vertical form example (#24771)
Browse files Browse the repository at this point in the history
Fixes #24739
  • Loading branch information
Daniel Niccoli authored and XhmikosR committed Nov 15, 2017
1 parent 1ee9cb0 commit c81ce9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/4.0/components/forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,11 @@ The `.form-group` class is the easiest way to add some structure to forms. Its o
{% example html %}
<form>
<div class="form-group">
<label class="col-form-label" for="formGroupExampleInput">Example label</label>
<label for="formGroupExampleInput">Example label</label>
<input type="text" class="form-control" id="formGroupExampleInput" placeholder="Example input">
</div>
<div class="form-group">
<label class="col-form-label" for="formGroupExampleInput2">Another label</label>
<label for="formGroupExampleInput2">Another label</label>
<input type="text" class="form-control" id="formGroupExampleInput2" placeholder="Another input">
</div>
</form>
Expand Down

0 comments on commit c81ce9f

Please sign in to comment.