mercredi 6 avril 2016

rails : how to add dynamic radio_buttons

I have two radio buttons.

In the first radio buttons, i have two choices:

- Men

- Women

In the second radio buttons, i have product items.

if men selected: i want to show items with "M" code,

if women selected: i want to show items with "W" code.

Aucun commentaire:

Enregistrer un commentaire