I currently found simple_form gem for rails application. I currently join the rails project and added this to existing project. After installation it creates form for new migrations with simple_form. I want to migrate all existing forms to use simple_form.
How can I accomplish existing non simple_form layout forms to use simple_form layout.
Is there any way to generate forms using console or script to make simple_form layout?
simple_form_for
still has access to the same methods asform_for
. Try replacing aform_for
in your app with asimple_form_for
. If it still works, it means thatsimple_form_for
can either use its own DSL (methods, options, etc) OR use the good old syntax ofform_for
(which would mean no need for extra coding for you!) – MrYoshiji