I have a product registration in Rails. I am using Zurb-Foundation 5 as lib in Front End. How do I call an include form within a modal window in the Foundation. I created a partial with the form and tried to insert it inside the div
to be called at the moment of the click but it does not work. Trying to be more specific to facilitate. I have the URL:
localhost:3000/products
The index action should already list all available products and at the same time show the include button. When clicking the button, you should open the modal with the damn inclusion form. I would like to do CRUD operations without changing the URL to / new, / product /: id, and so on. What could I do?