Ciao,
since day one I was trying to use Formular::Helper.builder= :bootstrap3 as initializer in my projects but it wouldn't work here below how I have fixed it.
ISSUE:_builder is called when the builder option is not present in form so if @builder is not set load_builder(:basic) is called which is perfect BUT if @builder is initialized, load_builder is not called at all.
FIXED:
first make sure that builder_name is either set by the form method or by the initializer or just basic and then call load_builder.
Ciao, since day one I was trying to use
Formular::Helper.builder= :bootstrap3
as initializer in my projects but it wouldn't work here below how I have fixed it. ISSUE:_builder
is called when thebuilder
option is not present inform
so if@builder
is not setload_builder(:basic)
is called which is perfect BUT if@builder
is initialized,load_builder
is not called at all. FIXED: first make sure thatbuilder_name
is either set by theform
method or by the initializer or justbasic
and then callload_builder
.Hope this makes sense ciao