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

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -