dwightwatson / bootstrap-form

Bootstrap 3 form builder for Laravel
MIT License
217 stars 133 forks source link

Add additional selector in the `.form-group` div? #87

Open ShahidH opened 7 years ago

ShahidH commented 7 years ago

Is there a way to add additional selector in the .form-group div but not globally?

For example:

BootForm::text('username');

Would generate:

<div class="form-group">
    <label for="username" class="control-label col-md-2">Username</label>
    <div class="col-md-10">
        <input type="text" name="username" class="form-control">
    </div>
</div>

What I want to add additional selector, eg:

<div class="form-group col-md-3">

</div>