GeistHaus
log in · sign up

What to do when you need a button_to within a form in Rails

bhserna.com

Imagine that you have a form to update a record (let’s say a product record) and inside the form, you are showing a list of images, and each image needs a button to remove it. You tried to use button_to but it doesn’t work because in html you can have...

0 pages link to this URL

No pages have linked to this URL yet.