ruby on rails - Case statement two buttons under selection -
i'm trying put buttons under same case such as:
when "invited" button_to "confirm", .... button_to "refuse", ....
at minute 1 of buttons shown @ time, how can show both simultaneously?
thanks!
it's typically case last result returned, if want return multiple things:
when 'x' [ button_to ..., button_to ] ...
that return array of various buttons present.
Comments
Post a Comment