]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update forms.md
author719media <ben@719media.com>
Wed, 19 Sep 2018 17:18:20 +0000 (10:18 -0700)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 20 Sep 2018 06:31:02 +0000 (09:31 +0300)
fix duplicate id attribute

site/docs/4.1/components/forms.md

index 41a12daab853ad555ceb22ae22d8bed838cd38a4..6bef385279db94db3296a200542d7e7137fddf94 100644 (file)
@@ -1172,13 +1172,13 @@ Custom checkboxes and radios can also be disabled. Add the `disabled` boolean at
 
 {% capture example %}
 <div class="custom-control custom-checkbox">
-  <input type="checkbox" class="custom-control-input" id="customCheckDisabled" disabled>
-  <label class="custom-control-label" for="customCheckDisabled">Check this custom checkbox</label>
+  <input type="checkbox" class="custom-control-input" id="customCheckDisabled1" disabled>
+  <label class="custom-control-label" for="customCheckDisabled1">Check this custom checkbox</label>
 </div>
 
 <div class="custom-control custom-radio">
-  <input type="radio" id="radio3" name="radioDisabled" id="customRadioDisabled" class="custom-control-input" disabled>
-  <label class="custom-control-label" for="customRadioDisabled">Toggle this custom radio</label>
+  <input type="radio" name="radioDisabled" id="customRadioDisabled2" class="custom-control-input" disabled>
+  <label class="custom-control-label" for="customRadioDisabled2">Toggle this custom radio</label>
 </div>
 {% endcapture %}
 {% include example.html content=example %}