2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Docs: Simplify ids for checks, radios and switches (#41228)

Co-authored-by: Julien Déramond <juderamond@gmail.com>
This commit is contained in:
Christian Oliff
2025-02-16 16:05:23 +09:00
committed by GitHub
parent 0f13e1c2e7
commit 669079dff6
4 changed files with 36 additions and 36 deletions
@@ -369,8 +369,8 @@ direction: rtl
<input type="file" class="form-control" id="customFile">
</div>
<div class="mb-3 form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckChecked" checked>
<label class="form-check-label" for="flexSwitchCheckChecked">زر على شكل مفتاح اختيار.</label>
<input class="form-check-input" type="checkbox" role="switch" id="switchCheckChecked" checked>
<label class="form-check-label" for="switchCheckChecked">زر على شكل مفتاح اختيار.</label>
</div>
<div class="mb-3">
<label for="customRange3" class="form-label">مثال على حقل اختيار نطاقي</label>
@@ -368,8 +368,8 @@ body_class: "bg-body-tertiary"
<input type="file" class="form-control" id="customFile">
</div>
<div class="mb-3 form-check form-switch">
<input class="form-check-input" type="checkbox" role="switch" id="flexSwitchCheckChecked" checked>
<label class="form-check-label" for="flexSwitchCheckChecked">Checked switch checkbox input</label>
<input class="form-check-input" type="checkbox" role="switch" id="switchCheckChecked" checked>
<label class="form-check-label" for="switchCheckChecked">Checked switch checkbox input</label>
</div>
<div class="mb-3">
<label for="customRange3" class="form-label">Example range</label>
@@ -21,8 +21,8 @@ body_class: "d-flex align-items-center py-4 bg-body-tertiary"
</div>
<div class="form-check text-start my-3">
<input class="form-check-input" type="checkbox" value="remember-me" id="flexCheckDefault">
<label class="form-check-label" for="flexCheckDefault">
<input class="form-check-input" type="checkbox" value="remember-me" id="checkDefault">
<label class="form-check-label" for="checkDefault">
Remember me
</label>
</div>