Displaying 1 result from an estimated 1 matches for "is_active_tru".
Did you mean:
is_active_true
2011 Nov 20
3
Use Ransack with radio buttons for boolean values
...it didn''t reselect itself after the form has
been submitted. So, what should I do to ensure it will be selected just
like how my text field populated automatically after the form has been
submitted?
= search_form_for @q do |f|
= f.radio_button :is_active_false, 1
= f.radio_button :is_active_true, 1
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/LKxcEyGf-2MJ.
To post to this group, send email to rubyonrails-ta...