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

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.
What to do when you need a button_to within a form in Rails #ruby #rubydeveloper #rubyonrails https://rubyonrails.ba/single/what-to-do-when-you-need-a-button_to-within-a-form-in-rails

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles