mirror of
https://github.com/thomaspark/bootswatch.git
synced 2025-10-17 15:02:59 +00:00
HTML validation fixes
* fix invalid `for` attributes * fix invalid `p` tags * fix empty `name` attribute * fix duplicate ID * fix deprecated HTML attributes * fix missing `alt` attributes
This commit is contained in:
@@ -690,13 +690,13 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group has-success">
|
||||
<label class="form-control-label" for="inputSuccess1">Valid input</label>
|
||||
<label class="form-control-label" for="inputValid">Valid input</label>
|
||||
<input type="text" value="correct value" class="form-control is-valid" id="inputValid">
|
||||
<div class="valid-feedback">Success! You've done it.</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group has-danger">
|
||||
<label class="form-control-label" for="inputDanger1">Invalid input</label>
|
||||
<label class="form-control-label" for="inputInvalid">Invalid input</label>
|
||||
<input type="text" value="wrong value" class="form-control is-invalid" id="inputInvalid">
|
||||
<div class="invalid-feedback">Sorry, that username's taken. Try another?</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user