missing name field for floating labels

This commit is contained in:
dignajar 2020-12-29 14:57:20 +01:00
parent 70cefda593
commit 1e143270aa

View file

@ -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;