dwightwatson / bootstrap-form

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

<div> before html elements (select, text, checkbox, etc..) #50

Open LukaszFokin opened 8 years ago

LukaszFokin commented 8 years ago

Im trying to use inline form using bootstrap-form. But at all html elements create using BootForm, all elements are displayed between div tag. So, I can't get label and text at the same line.

I made some tests and if removed div tag from BootstrapForm.

dwightwatson commented 8 years ago

Yeah, this package is better suited for horizontal forms, the vertical form support needs some work. The code would need to be adjusted to only create the surrounding <div> for horizontal form groups. Happy to take a look at any PRs that can sort this out.

LukaszFokin commented 8 years ago

Tks for reply, I'll take a look.