trailblazer / formular

Form builder for Ruby. Fast, Furious, and Framework-Agnostic.
MIT License
81 stars 17 forks source link

Formular::Helper.builder = :bootstrap3 not working #31

Closed sergey-koba-mobidev closed 7 years ago

sergey-koba-mobidev commented 7 years ago

Hi @fran-worley,

I am trying to set Bootstrap3 as global builder (in my config.ru) after requiring 'formular' like so: Formular::Helper.builder = :bootstrap3

But it doesn't help until I do it inside my view: <% f = form(model, '', builder: :bootstrap3) %> <%= f.start %>

Maybe I am again doing something wrong :)

zavan commented 7 years ago

I have the same issue, but I'm doing Formular::Helper.builder = :bootstrap3 in a Rails initializer.

fran-worley commented 7 years ago

This has been fixed via 78a88c90353d0e84b477bb0d653a829b50b909b0