mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Merge pull request #18250 from twbs/v4-checkbox-markup
Checkbox validation markup (Take 2)
This commit is contained in:
commit
11dff583ce
1 changed files with 15 additions and 14 deletions
|
@ -561,21 +561,17 @@ Ensure that an alternative indication of state is also provided. For instance, y
|
|||
<input type="text" class="form-control form-control-error" id="inputError1">
|
||||
</div>
|
||||
|
||||
<div class="has-success">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" id="checkboxSuccess" value="option1">
|
||||
Checkbox with success
|
||||
</label>
|
||||
</div>
|
||||
<div class="checkbox has-success">
|
||||
<label>
|
||||
<input type="checkbox" id="checkboxSuccess" value="option1">
|
||||
Checkbox with success
|
||||
</label>
|
||||
</div>
|
||||
<div class="has-warning">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input type="checkbox" id="checkboxWarning" value="option1">
|
||||
Checkbox with warning
|
||||
</label>
|
||||
</div>
|
||||
<div class="checkbox has-warning">
|
||||
<label>
|
||||
<input type="checkbox" id="checkboxWarning" value="option1">
|
||||
Checkbox with warning
|
||||
</label>
|
||||
</div>
|
||||
<div class="has-danger">
|
||||
<div class="checkbox">
|
||||
|
@ -584,6 +580,11 @@ Ensure that an alternative indication of state is also provided. For instance, y
|
|||
Checkbox with error
|
||||
</label>
|
||||
</div>
|
||||
<div class="checkbox has-danger">
|
||||
<label>
|
||||
<input type="checkbox" id="checkboxError" value="option1">
|
||||
Checkbox with error
|
||||
</label>
|
||||
</div>
|
||||
{% endexample %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue