简体   繁体   中英

using formtastic with forem instead of simple_form

I am building my rails app and using forem to integrate forum in it. I have been using formtastic till now and forem uses simple_form.

I want to replace simple_form with formtastic in forem however if I changes simple_form_for with semantic_form_for I am bombarded with error messages.

Is there a simple and sweet way to replace it?

Ok, it seems simply replacing all instance of simple_form_for with semantic_form_for does the trick.

Make sure that you have Formtastic gem installed though.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM