diff options
| author | XhmikosR <[email protected]> | 2017-08-11 12:43:17 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2017-08-11 12:43:17 +0300 |
| commit | 61e8aa2a55dfb57c36d254d8ee9daca8753edcf1 (patch) | |
| tree | e21fcf8aa9004d903de5da18343d6a3444f514c4 | |
| parent | 14cb6a649534a45705a68172311c89086f77a8fa (diff) | |
| download | bootstrap-61e8aa2a55dfb57c36d254d8ee9daca8753edcf1.tar.xz bootstrap-61e8aa2a55dfb57c36d254d8ee9daca8753edcf1.zip | |
Fix HTML validation errors.
| -rw-r--r-- | _layouts/default.html | 8 | ||||
| -rw-r--r-- | docs/4.0/components/dropdowns.md | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 0292da9fd..0b0c214a1 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -12,9 +12,13 @@ {% include docs-navbar.html %} - <main id="content" role="main"> + {% if page.layout == "simple" %} {{ content }} - </main> + {% else %} + <main id="content" role="main"> + {{ content }} + </main> + {% endif %} {% include footer.html %} {% include scripts.html %} diff --git a/docs/4.0/components/dropdowns.md b/docs/4.0/components/dropdowns.md index 15f810be8..6ebce5f04 100644 --- a/docs/4.0/components/dropdowns.md +++ b/docs/4.0/components/dropdowns.md @@ -510,8 +510,8 @@ Put a form within a dropdown menu, or make it into a dropdown menu, and use [mar <input type="email" class="form-control" id="exampleDropdownFormEmail2" placeholder="[email protected]"> </div> <div class="form-group"> - <label for="exampleDropdownFormEmail2">Password</label> - <input type="password" class="form-control" id="exampleDropdownFormEmail2" placeholder="Password"> + <label for="exampleDropdownFormPassword2">Password</label> + <input type="password" class="form-control" id="exampleDropdownFormPassword2" placeholder="Password"> </div> <div class="form-check"> <label class="form-check-label"> |
