1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-02-22 06:39:52 +00:00

Clean up instances of old .form-group (#29321)

This commit is contained in:
Mark Otto 2019-08-29 14:07:55 -06:00 committed by GitHub
parent d06eec372a
commit 8360edc57b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 8 deletions

View File

@ -689,15 +689,15 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar
{{< example >}}
<div class="dropdown-menu">
<form class="px-4 py-3">
<div class="form-group">
<div class="mb-3">
<label for="exampleDropdownFormEmail1">Email address</label>
<input type="email" class="form-control" id="exampleDropdownFormEmail1" placeholder="email@example.com">
</div>
<div class="form-group">
<div class="mb-3">
<label for="exampleDropdownFormPassword1">Password</label>
<input type="password" class="form-control" id="exampleDropdownFormPassword1" placeholder="Password">
</div>
<div class="form-group">
<div class="mb-3">
<div class="form-check">
<input type="checkbox" class="form-check-input" id="dropdownCheck">
<label class="form-check-label" for="dropdownCheck">
@ -715,15 +715,15 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar
{{< example >}}
<form class="dropdown-menu p-4">
<div class="form-group">
<div class="mb-3">
<label for="exampleDropdownFormEmail2">Email address</label>
<input type="email" class="form-control" id="exampleDropdownFormEmail2" placeholder="email@example.com">
</div>
<div class="form-group">
<div class="mb-3">
<label for="exampleDropdownFormPassword2">Password</label>
<input type="password" class="form-control" id="exampleDropdownFormPassword2" placeholder="Password">
</div>
<div class="form-group">
<div class="mb-3">
<div class="form-check">
<input type="checkbox" class="form-check-input" id="dropdownCheck2">
<label class="form-check-label" for="dropdownCheck2">

View File

@ -523,11 +523,11 @@ Below is a live demo followed by example HTML and JavaScript. For more informati
</div>
<div class="modal-body">
<form>
<div class="form-group">
<div class="mb-3">
<label for="recipient-name" class="col-form-label">Recipient:</label>
<input type="text" class="form-control" id="recipient-name">
</div>
<div class="form-group">
<div class="mb-3">
<label for="message-text" class="col-form-label">Message:</label>
<textarea class="form-control" id="message-text"></textarea>
</div>