cakephp3-bootstrap-helpers
cakephp3-bootstrap-helpers copied to clipboard
horizontal form with form-control-sm [v4]
Is there any option to create a horizontal form with small-sized input?
I want to use something like this
<div class="form-group row">
<label for="smFormGroupInput" class="col-sm-2 col-form-label col-form-label-sm">Email</label>
<div class="col-sm-10">
<input type="email" class="form-control form-control-sm" id="smFormGroupInput" placeholder="[email protected]">
</div>
</div>
There is no built-in way to add these class — You need to use the class
option but unfortunately you will have to create the label and the input separately.