bootstrap-generators icon indicating copy to clipboard operation
bootstrap-generators copied to clipboard

simple_form_for

Open fagianijunior opened this issue 8 years ago • 2 comments

rails g bootstrap:install --template-engine=haml

It try to overview some files, like lib/templates/haml/scaffold/_form.html.haml

but it try to change simple_form to form_for, bootstrap-generators do support to simple_form_for??

fagianijunior avatar Nov 12 '16 14:11 fagianijunior

it does not support simple_form. But if you want to keep the simple_form version, you just need to reject the substitution; or compare both versions and update the simple_form template.

decioferreira avatar Nov 13 '16 22:11 decioferreira

Here is the Simple Form _form template for haml: https://github.com/plataformatec/simple_form/blob/master/lib/generators/simple_form/templates/_form.html.haml

mustmodify avatar Nov 20 '16 19:11 mustmodify