simple_form 与 bootstrap 3 的集成 [英] Integration of simple_form with bootstrap 3
问题描述
我已将引导程序更新到版本 3.除了由 simple_form gem 生成的表单外,一切正常.我不知道如何将这两者结合在一起.我在 github 项目存储库中也找不到任何有用的建议.那么有没有人为我提供解决方案?
I've updated bootstrap to version 3. Everything works fine except the forms which are generated by simple_form gem. I don't know how could I integrate these two together. I can't find any helpful suggestion in the github project repository either. So does anyone have a solution for me ?
推荐答案
这里有一篇博文 http://stabco.tumblr.com/post/59760641051/simple-form-bootstrap3-integration 看起来是个不错的解决方案.它更新初始化程序以适应引导程序 3.
There's a blog post here http://stabco.tumblr.com/post/59760641051/simple-form-bootstrap3-integration that looks like a good solution. It updates the initializer to suit bootstrap 3.
这篇关于simple_form 与 bootstrap 3 的集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!