Skip to content

Commit

Permalink
Update forms.md
Browse files Browse the repository at this point in the history
fix duplicate id attribute
  • Loading branch information
719media authored and XhmikosR committed Sep 20, 2018
1 parent 4dc5671 commit e1b7404
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions site/docs/4.1/components/forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit e1b7404

Please sign in to comment.