I want to show the list of products in a single form with a single submit button. I need to update the product's active/inactive status with a checkbox in a form. Something like:
**Product** **Status**
Product 1 Checkbox(:is_active) => True
Product 1 Checkbox(:is_active) => False
Save
I'm not sure how should I proceed. I went through the tutorial here
but I need to update active/inactive status at same time.
Aucun commentaire:
Enregistrer un commentaire