ruby-on-railshobo

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 default enum_string type it creates drop down select instead of radio buttons.


Solution

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