根据GitHub页面,Simple Forms for Rails仅适用于Foundation 3。https://github.com/plataformatec/simple_form
如何确保格式使用Foundation 4?Foundation 3和Foundation的4种形式之间有很大区别吗?
您可以比较在这两个页面上创建的表单的HTML:
- http://foundation.zurb.com/docs/components/forms.html
- http://foundation.zurb.com/old-docs/f3/forms.php