missing name field for floating labels
This commit is contained in:
parent
70cefda593
commit
1e143270aa
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class Bootstrap {
|
|||
|
||||
return <<<EOF
|
||||
<div class="form-floating mb-3">
|
||||
<input type="$type" class="$class" id="$id" placeholder="$placeholder">
|
||||
<input type="$type" class="$class" id="$id" name="$name" placeholder="$placeholder">
|
||||
<label for="$id">$label</label>
|
||||
</div>
|
||||
EOF;
|
||||
|
|
Loading…
Reference in a new issue