阅读背景:

如何在simple_form中设置集合中的当前值

来源:互联网 

Here is a piece of code in edit.html.erb which does not work. The purpose of the code is to fill a form for editing. Collection is used with option of yes and no. How can I set the collection to the current 'active' value with :selected option?Here is a piece of code in edit.html.erb which




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: