search for: tag_value

Displaying 3 results from an estimated 3 matches for "tag_value".

Did you mean: dbg_value
2006 Jan 04
4
radio_button method does not recognize int values?
So the api listing says that radio_button(object, method, tag_value, options = {}) gives a radio button tag, and if object.method == tag_value, then the button will be checked. I verified the method behaves correctly for attributes of type string. However, if the attribute is of type int, it doesn''t make the button checked. Does anyone have some info...
2007 Oct 11
3
radio_button_tag
Hello I have a view which have 2 radio buttons : ... <td style="width:5%">Actuel</td> <td style="width:10%"><%= radio_button_tag(:actuel, value = "1", checked = false, options = {}) %> <td style="width:5%">Last</td> <td style="width:10%"><%= radio_button_tag(:last, value = "1", checked =
2008 May 11
3
radio_button_tag and default checked option
Hi, I can''t get my radio button to be checked by default, here is what I have: <%= f.radio_button :gender, "male", :checked => ''true'' %><p>Male</p> <%= f.radio_button :gender, "female" %><p>Female</p> -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received