decioferreira / bootstrap-generators

Bootstrap-generators provides Twitter Bootstrap generators for Rails
MIT License
351 stars 77 forks source link

simple_form_for #44

Open fagianijunior opened 7 years ago

fagianijunior commented 7 years ago

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??

decioferreira commented 7 years ago

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.

mustmodify commented 7 years ago

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