开发者

Radio buttons in Hobo Rails

How can I use radio buttons in a form in Hobo Rails? I want a gender field with two options "Male" and "Female". If I use the defaul开发者_如何学Got enum_string type it creates drop down select instead of radio buttons.


Hobo does not currently support radio buttons. You have to do them yourself. There is a half complete tag defined in this post.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜