Displaying 2 results from an estimated 2 matches for "chekbox".
Did you mean:
checkbox
2011 Aug 26
2
Observer for checkbox
Hi!
I want to put a checkbox on my data list in index view, and change his value
on database when I change the value of this chekbox.
Someone know how is the good way for do it?
Thanks!
--
*Fernando Aureliano*
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane....
2011 Aug 14
5
Puzzled with form on multiple table rows
I''ve got a table of events, and each event has a boolean attribute
is_ten_event.
On each row of the table is a chekbox to edit the value of is_ten_event,
so that multiple rows can be edited with one submit.
In order to allow boxes to be un-checked as well, the logic in the
controller works like this
get array of events from checkboxes that are ticked.
make all events.is_ten_event = false
make all events in array...