]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix HTML validation errors.
authorXhmikosR <xhmikosr@gmail.com>
Fri, 11 Aug 2017 09:43:17 +0000 (12:43 +0300)
committerXhmikosR <xhmikosr@gmail.com>
Fri, 11 Aug 2017 09:43:17 +0000 (12:43 +0300)
_layouts/default.html
docs/4.0/components/dropdowns.md

index 0292da9fd847b5aa03c9fb89db1033132cb1ceec..0b0c214a16246d1f4fcb7d6c8254adc18ea40acc 100644 (file)
 
     {% 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 %}
index 15f810be81744fa389e2a10bbb0fb87dc856b029..6ebce5f042dd442a1aa92def1d8e34b8ae938b8c 100644 (file)
@@ -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@example.com">
   </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">