Open fabn opened 9 years ago
:+1: This would really help with custom bootstrap layouts and plugins that require to have some custom markup.
:+1: For more complex form-groups this would be great.
Yes this would be great. I am running into this limitation when trying to custom markup radio buttons and checkboxes.
Update: It turns out that check boxes support this already: https://github.com/bootstrap-ruby/rails-bootstrap-forms/blob/master/lib/bootstrap_form/form_builder.rb#L101. I suppose the same approach can be take to implement it for radio buttons.
Currently the gem allows to insert custom markup using a
form_group
helper with this syntaxText inputs (and also other "native" inputs) won't accept a block, i.e.
produces this HTML
It would be nice and useful to build complex forms to have this
to get this HTML